pub fn hash_keccak256(
    input: Vec<u8, Global>
) -> Result<Vec<u8, Global>, WasmError>
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.