Performance-optimized SecretKey implementation for HMAC operations.
This class provides an efficient SecretKey implementation that avoids
unnecessary key data copying during construction for improved performance.
Unlike standard SecretKeySpec, this implementation maintains a direct reference
to the key data while maintaining compatibility with Mac operations.
Implementation Note: getEncoded() returns a copy of the
first 32 bytes because the Mac class requires this behavior for proper
operation. The full key data may be longer than 32 bytes.