Skip to main content

derive_master_key

Function derive_master_key 

Source
fn derive_master_key(
    keysets: &[KeysetInfo],
    username: &str,
    password: &str,
    account_key: &AccountKey,
) -> Result<AesKey, OnePasswordError>
Expand description

Derives the key of the newest master keyset, the only one carrying KDF parameters.