This repository was archived by the owner on Jun 17, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66[ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
88
9+ ## [ 5.2.0] - 2018-04-27
10+ - Rename all `` sha3 `` hash related constants and functions to `` keccak `` , see
11+ [ this] ( https://github.com/ethereum/EIPs/issues/59 ) EIP discussion for context
12+ (tl;dr: Ethereum uses a slightly different hash algorithm then in the official
13+ `` SHA-3 `` standard)
14+ - Renamed constants:
15+ - `` SHA3_NULL_S `` -> `` KECCAK256_NULL_S ``
16+ - `` SHA3_NULL `` -> `` KECCAK256_NULL ``
17+ - `` SHA3_RLP_ARRAY_S `` -> `` KECCAK256_RLP_ARRAY_S ``
18+ - `` SHA3_RLP_ARRAY `` -> `` KECCAK256_RLP_ARRAY ``
19+ - `` SHA3_RLP_S `` -> `` KECCAK256_RLP_S ``
20+ - `` SHA3_RLP `` -> `` KECCAK256_RLP ``
21+ - Renamed functions:
22+ - `` sha3() `` -> `` keccak() `` (number of bits determined in arguments)
23+ - New `` keccak256() `` alias function for `` keccak(a, 256) ``
24+ - The usage of the `` sha `` -named versions is now `` DEPRECATED `` and the related
25+ constants and functions will be removed on the next major release `` v6.0.0 ``
26+
27+ [ 5.2.0 ] : https://github.com/ethereumjs/ethereumjs-util/compare/v5.1.5...v5.2.0
28+
929## [ 5.1.5] - 2018-02-28
1030- Fix `` browserify `` issue leading to 3rd-party build problems, PR [ #119 ] ( https://github.com/ethereumjs/ethereumjs-util/pull/119 )
1131
Original file line number Diff line number Diff line change 11{
22 "name" : " ethereumjs-util" ,
3- "version" : " 5.1.5 " ,
3+ "version" : " 5.2.0 " ,
44 "description" : " a collection of utility functions for Ethereum" ,
55 "main" : " dist/index.js" ,
66 "files" : [
You can’t perform that action at this time.
0 commit comments