Function nettle::kdf::hkdf

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

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

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