pub fn hash_keccak256(input: Vec<u8>) -> ExternResult<Vec<u8>>
Expand description

Hash arbitrary bytes using keccak256. This is the same algorithm used by ethereum and other EVM compatible blockchains. It is essentially the same as sha3 256 but with a minor difference in configuration that is enough to generate different hash outputs.