KeccakEx v0.1.0 Keccak
Implementation of Keccak in pure Elixir.
NO OPTIMIZED!!!
Link to this section Summary
Link to this section Functions
Link to this function
hash(bit_length, value)
Returns the keccak hash.
Examples
iex> {:ok, hash} = Keccak.hash(256, "hello world")
iex> hash
<<71, 23, 50, 133, 168, 215, 52, 30, 94, 151, 47, 198, 119, 40, 99,
132, 248, 2, 248, 239, 66, 165, 236, 95, 3, 187, 250, 37, 76, 176,
31, 173>>
Link to this function
hash!(bit_length, value)
Returns the keccak hash.
Examples
iex> Keccak.hash!(256, "hello world")
<<71, 23, 50, 133, 168, 215, 52, 30, 94, 151, 47, 198, 119, 40, 99,
132, 248, 2, 248, 239, 66, 165, 236, 95, 3, 187, 250, 37, 76, 176,
31, 173>>