StaticnewCreate new HKDF parameters with default settings. Uses a random 16-byte salt and SHA-256.
StaticnewCreate HKDF parameters with custom settings.
Returns the salt.
Returns the hash type.
Returns the method index for CBOR encoding.
Derive a key from the secret and encrypt the content key.
Derive a key from the secret and decrypt the content key.
Get string representation.
Convert to CBOR. Format: [0, Salt, HashType]
Convert to CBOR binary data.
Staticfrom
HKDF parameters for key derivation.
HKDF is suitable for deriving keys from high-entropy inputs (like other keys), but NOT for password-based key derivation.