ethereumjs-utils
Advanced tools
Changelog
[5.2.0] - 2018-04-27
sha3
hash related constants and functions to keccak
, see
this EIP discussion for context
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
SHA-3
standard)SHA3_NULL_S
-> KECCAK256_NULL_S
SHA3_NULL
-> KECCAK256_NULL
SHA3_RLP_ARRAY_S
-> KECCAK256_RLP_ARRAY_S
SHA3_RLP_ARRAY
-> KECCAK256_RLP_ARRAY
SHA3_RLP_S
-> KECCAK256_RLP_S
SHA3_RLP
-> KECCAK256_RLP
sha3()
-> keccak()
(number of bits determined in arguments)keccak256()
alias function for keccak(a, 256)
sha
-named versions is now DEPRECATED
and the related
constants and functions will be removed on the next major release v6.0.0