Skip to content

Commit 182114d

Browse files
Kyle Spiersbradfitz
Kyle Spiers
authored andcommitted
sha3: fix typo in Shake256 docs
Change-Id: I1d8d1016a956bf185d3a5af76188b8287fce6391 Reviewed-on: https://go-review.googlesource.com/100195 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent c7dcf10 commit 182114d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sha3/shake.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (d *state) Clone() ShakeHash {
4040
// least 32 bytes of its output are used.
4141
func NewShake128() ShakeHash { return &state{rate: 168, dsbyte: 0x1f} }
4242

43-
// NewShake256 creates a new SHAKE128 variable-output-length ShakeHash.
43+
// NewShake256 creates a new SHAKE256 variable-output-length ShakeHash.
4444
// Its generic security strength is 256 bits against all attacks if
4545
// at least 64 bytes of its output are used.
4646
func NewShake256() ShakeHash { return &state{rate: 136, dsbyte: 0x1f} }

0 commit comments

Comments
 (0)