Skip to content

Commit

Permalink
Update cng/hash.go
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <[email protected]>
  • Loading branch information
qmuntal and Copilot authored Dec 18, 2024
1 parent 83d99b3 commit 804906f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cng/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 804906f

Please sign in to comment.