pub(super) fn encrypt_user_key(
key: &SymmetricCryptoKey,
user_key: &SymmetricCryptoKey,
) -> Result<EncString, CryptoError>
Expand description
Helper function to encrypt a user key with a master or pin key.
pub(super) fn encrypt_user_key(
key: &SymmetricCryptoKey,
user_key: &SymmetricCryptoKey,
) -> Result<EncString, CryptoError>
Helper function to encrypt a user key with a master or pin key.