hyperledger / fabric-gateway

Go, Node and Java client API for Hyperledger Fabric v2.4+
https://hyperledger.github.io/fabric-gateway/
Apache License 2.0
150 stars 88 forks source link

Add implementations for all hashes supported by Fabric v2.5 #580

Closed bestbeforetoday closed 1 year ago

bestbeforetoday commented 1 year ago

Compatible change of Java Hash class to an enum since this allows hash algorithms to named following Java naming conventions as upper-case constants with underscores rather than as camel-case, which makes it much easier to distinguish SHA3 algorithms (for example, SHA3_256 rather than sha3256).

Closes #579