bitwarden_core::auth::auth_request

Function auth_request_decrypt_user_key

Source
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.