pub fn crypto_generichash(
    output: &mut [u8],
    input: &[u8],
    key: Option<&[u8]>
) -> Result<(), Error>
Expand description

Computes a hash from input and key, copying the result into output.

Compatible with libsodium’s crypto_generichash_final