We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5387ad7 commit c20d6e5Copy full SHA for c20d6e5
crypto/sha3/hashes.go
@@ -12,6 +12,9 @@ import (
12
"hash"
13
)
14
15
+// NewKeccak256 creates a new Keccak-256 hash.
16
+func NewKeccak256() hash.Hash { return &state{rate: 136, outputLen: 32, dsbyte: 0x01} }
17
+
18
// New224 creates a new SHA3-224 hash.
19
// Its generic security strength is 224 bits against preimage attacks,
20
// and 112 bits against collision attacks.
0 commit comments