derive_auth_key

Function derive_auth_key 

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

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.