Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

v5.2.0 - Minor Release

Compare
Choose a tag to compare
@holgerd77 holgerd77 released this 27 Apr 10:37
· 252 commits to master since this release
7e3be1d
  • Rename all 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)
  • 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 for keccak(a, 256)
  • The usage of the sha-named versions is now DEPRECATED and the related
    constants and functions will be removed on the next major release v6.0.0