-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAB-1517 Add shake hash 256 to hash.js
The orderer selected ShakeHash 256 in the place of SHA3-512 which would be a much slower algorithm for the same security strength (256 bits). so the SDK must sent a shake hash of 256 bits strength (length of 512 bits or 64 bytes) in the configuration request to the orderer as part of constructing a channel. This PR adds the new API to the hash primitive class hash.js, to be used by the SDK code that creates channels. Change-Id: I180dedc7aa23d8f6695406bc2a4164e00aed39e2 Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
- Loading branch information
1 parent
5786857
commit fbb3ae3
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters