Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby denoted as "the implementer".
For more information, feedback or questions, please refer to our websites:
To the extent possible under law, the implementer has waived all copyright and related or neighboring rights to the source code in this file. http://creativecommons.org/publicdomain/zero/1.0/
Ported to elm by Art Yerkes.
ethereum_keccak_256 is the hash function used in many places related to the ethereum cryptocurrency. It is different from sha3 in the padding used.
Elm 0.19 update by Coury Ditch https://github.com/cmditch
The state of the keccak hasher.
A configuration for a keccak hasher.
fips202_sha3_224 : Config
Configuration for SHA3-224
fips202_sha3_256 : Config
Configuration for SHA3-256
fips202_sha3_384 : Config
Configuration for SHA3-384
fips202_sha3_512 : Config
Configuration for SHA3-512
ethereum_keccak_256 : Config
Configuration for ethereum 256 bit hashes
init : Config -> State
Prepare a keccak instance to do hashing with the given configuration.
update : Bytes -> State -> State
Include the given bytes in the hash.