bitwarden_core::auth::auth_request

Function auth_request_decrypt_master_key

Source
pub(crate) fn auth_request_decrypt_master_key(
    private_key: String,
    master_key: AsymmetricEncString,
    user_key: EncString,
) -> Result<SymmetricCryptoKey, EncryptionSettingsError>
Expand description

Decrypt the user key using the private key generated previously.