pub(super) fn derive_kdf_key(
secret: &[u8],
salt: &[u8],
kdf: &Kdf,
) -> Result<SymmetricCryptoKey, CryptoError>
Expand description
Derive a generic key from a secret and salt using the provided KDF.
pub(super) fn derive_kdf_key(
secret: &[u8],
salt: &[u8],
kdf: &Kdf,
) -> Result<SymmetricCryptoKey, CryptoError>
Derive a generic key from a secret and salt using the provided KDF.