Function keccak256

Source
pub fn keccak256<S>(bytes: S) -> [u8; 32]
where S: AsRef<[u8]>,
Expand description

Compute the Keccak-256 hash of input bytes.

Panics if the computed hash is not the expected length (32 bytes).