verity_ic::crypto::ethereum

Function hash_eth_message

source
pub fn hash_eth_message<T: AsRef<[u8]>>(message: T) -> Vec<u8> 
Expand description

Preprocess and hash an Ethereum message using the Ethereum message prefix