[][src]Function ffsend_api::crypto::hkdf::derive_auth_key

pub fn derive_auth_key(
    secret: &[u8],
    password: Option<&str>,
    url: Option<&Url>
) -> Vec<u8>

Derive a key used for authentication, based on the given secret.

A password and url may be given for special key deriving. At this time this is not implemented however.