Function keccak256_cached

Source
pub fn keccak256_cached<T: AsRef<[u8]>>(bytes: T) -> B256
Expand description

Simple interface to the Keccak-256 hash function, with a thin cache layer.

Uses the cache if the keccak-cache feature is enabled.