Function ethers_core::utils::keccak256

source ·
pub fn keccak256<T: AsRef<[u8]>>(bytes: T) -> [u8; 32]
Expand description

Compute the Keccak-256 hash of input bytes.

Note that strings are interpreted as UTF-8 bytes,