This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
v5.2.0 - Minor Release
- Rename all
sha3
hash related constants and functions tokeccak
, see
this EIP discussion for context
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
SHA-3
standard) - Renamed constants:
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
- Renamed functions:
sha3()
->keccak()
(number of bits determined in arguments)
- New
keccak256()
alias function forkeccak(a, 256)
- The usage of the
sha
-named versions is nowDEPRECATED
and the related
constants and functions will be removed on the next major releasev6.0.0