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.
Compute the sha3 256 of a list of byte width integers (0-255) as a list of byte width integers.
Compute the sha3 384 of a list of byte width integers (0-255) as a list of byte width integers.
Compute the sha3 512 of a list of byte width integers (0-255) as a list of byte width integers.
Compute the ethereum style 256-bit hash of a list of byte width integers (0-255) as a list of byte width integers.
Compute the sha3 224 of a list of byte width integers (0-255) as a list of byte width integers.