evm v0.1.6 EVM.Operation.Sha3

Link to this section Summary

Functions

Compute Keccak-256 hash

Link to this section Functions

Link to this function sha3(list, map)
sha3(Operation.stack_args, Operation.vm_map) :: Operation.op_result

Compute Keccak-256 hash.

Examples

iex> EVM.Operation.Sha3.sha3([1, 0], %{machine_state: %EVM.MachineState{}})
<<197, 210, 70, 1, 134, 247, 35, 60, 146, 126, 125, 178, 220, 199, 3, 192, 229, 0, 182, 83, 202, 130, 39, 59, 123, 250, 216, 4, 93, 133, 164, 112>>