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