derive_secrets

Function derive_secrets 

Source
pub fn derive_secrets(
    input: &[u8],
    salt: &[u8],
    info: &[u8],
    chunks: Option<usize>,
) -> Result<Vec<Vec<u8>>, Box<dyn Error + Send + Sync>>
Expand description

HKDF implementation (RFC 5869) - specific implementation that returns the first 3 32-byte chunks