[][src]Function monocypher::hashing::hchacha20::easy

pub fn easy(key: [u8; 32], input: [u8; 16]) -> [u8; 32]

Not-so-cryptographic hashing function. Use blak2b.

Example

use monocypher::hashing::hchacha20::easy;

easy([42u8; 32], [123u8; 16]);