View Source Signet.Hash (Signet v0.1.7)
Link to this section Summary
Functions
Returns the keccak of the given binary message.
Returns the keccak of the given binary message, as an unsigned.
Link to this section Functions
Returns the keccak of the given binary message.
examples
Examples
iex> Signet.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>>
Returns the keccak of the given binary message, as an unsigned.
examples
Examples
iex> Signet.Hash.keccak_unsigned("test") 70622639689279718371527342103894932928233838121221666359043189029713682937432