Function clarity::abi::get_hash

source ·
pub fn get_hash(bytes: &[u8]) -> [u8; 32]
Expand description

Gets the Keccak256 hash of some input bytes. Signatures in Ethereum are nearly without exception performed after encoding using the ABI, then hashing using this function.