Skip to content

Commit

Permalink
sha3: fix typo in Shake256 docs
Browse files Browse the repository at this point in the history
Change-Id: I1d8d1016a956bf185d3a5af76188b8287fce6391
Reviewed-on: https://go-review.googlesource.com/100195
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
Kyle Spiers authored and bradfitz committed Mar 12, 2018
1 parent c7dcf10 commit 182114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha3/shake.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (d *state) Clone() ShakeHash {
// least 32 bytes of its output are used.
func NewShake128() ShakeHash { return &state{rate: 168, dsbyte: 0x1f} }

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

0 comments on commit 182114d

Please # to comment.