[−][src]Function disco::symmetric::hash
pub fn hash(input_data: &[u8], output_len: usize) -> Vec<u8>
Hashes an input of any length and obtain an output of length greater or equal to 256 bits (32 bytes).
Panics when output_len < 32
.