From 182114d582623c1caa54f73de9c7224e23a48487 Mon Sep 17 00:00:00 2001 From: Kyle Spiers Date: Mon, 12 Mar 2018 11:51:34 -0700 Subject: [PATCH] sha3: fix typo in Shake256 docs Change-Id: I1d8d1016a956bf185d3a5af76188b8287fce6391 Reviewed-on: https://go-review.googlesource.com/100195 Reviewed-by: Brad Fitzpatrick --- sha3/shake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha3/shake.go b/sha3/shake.go index 841f9860f0..5a027d2da3 100644 --- a/sha3/shake.go +++ b/sha3/shake.go @@ -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} }