Trait Keccak256
ethsign_crypto
pub trait Keccak256<T: Sized> { fn keccak256(&self) -> T; }
Helper trait for conveniently hashing byte slices
fn keccak256(&self) -> T
Hash self to a hash type T.
T
impl Keccak256<[u8; 32]> for [u8]
fn keccak256(&self) -> [u8; 32]
impl<T: AsRef<[u8]>> Keccak256<[u8; 32]> for T