evm v0.1.14 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{}})
%EVM.MachineState{active_words: 0, gas: nil, memory: "", program_counter: 0, previously_active_words: 0, stack: [89477152217924674838424037953991966239322087453347756267410168184682657981552]}