pub(crate) fn auth_request_decrypt_user_key(
private_key: String,
user_key: AsymmetricEncString,
) -> Result<SymmetricCryptoKey, EncryptionSettingsError>
Expand description
Decrypt the user key using the private key generated previously.
pub(crate) fn auth_request_decrypt_user_key(
private_key: String,
user_key: AsymmetricEncString,
) -> Result<SymmetricCryptoKey, EncryptionSettingsError>
Decrypt the user key using the private key generated previously.