From 804906ffa2db1854b3c994eed41d881eb080ab53 Mon Sep 17 00:00:00 2001 From: Quim Muntal Date: Wed, 18 Dec 2024 15:47:41 +0100 Subject: [PATCH] Update cng/hash.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- cng/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cng/hash.go b/cng/hash.go index 223088a..e8339f8 100644 --- a/cng/hash.go +++ b/cng/hash.go @@ -321,7 +321,7 @@ func SumSHAKE128(data []byte, length int) []byte { func SumSHAKE256(data []byte, length int) []byte { out := make([]byte, length) if err := hashOneShot(bcrypt.CSHAKE256_ALGORITHM, data, out); err != nil { - panic("bcrypt: CSHAKE128_ALGORITHM failed") + panic("bcrypt: CSHAKE256_ALGORITHM failed") } return out }