Function dangerous_derive_kdf_material

Source
pub fn dangerous_derive_kdf_material(
    password: &[u8],
    salt: &[u8],
    kdf: &Kdf,
) -> Result<Vec<u8>, CryptoError>
👎Deprecated: This function is only meant as a temporary stop-gap to expose KDF derivation in PureCrypto until the higher-level consumers are moved to the SDK directly. DO NOT USE THIS OUTSIDE OF PureCrypto!
Expand description

Derives KDF material given a password, salt and kdf configuration. This function is a stop-gap solution and should not be used outside of PureCrypto.

The clean-up ticket is tracked here: https://bitwarden.atlassian.net/browse/PM-23168