[][src]Function nettle::kdf::hkdf

pub fn hkdf<H: NettleHash>(
    secret: &[u8],
    salt: &[u8],
    info: &[u8],
    key: &mut [u8]
)

H. Krawczyks HMAC-based key derivation function (RFC 5869).

Derives key from secret, public salt and optional context info.