Skip to main content

expand

Function expand 

pub fn expand(
    digest: MessageDigest,
    secret: &[u8],
    info: &[u8],
    output: &mut [u8],
) -> Result<(), ErrorStack>
Available on crate features boring and crypto and std only.
Expand description

Expand a pseudorandom key, with at most 255 digest-sized blocks of output.