EIP712.Hash (eip712 v0.1.0)

Summary

Functions

Returns the keccak of the given binary message.

Returns the keccak of the given binary message, as an unsigned.

Functions

Link to this function

keccak(message)

Returns the keccak of the given binary message.

Examples

iex> EIP712.Hash.keccak("test") <<156, 34, 255, 95, 33, 240, 184, 27, 17, 62, 99, 247, 219, 109, 169, 79, 237, 239, 17, 178, 17, 155, 64, 136, 184, 150, 100, 251, 154, 60, 182, 88>>

Link to this function

keccak_unsigned(message)

Returns the keccak of the given binary message, as an unsigned.

Examples

iex> EIP712.Hash.keccak_unsigned("test") 70622639689279718371527342103894932928233838121221666359043189029713682937432