The Keccak hash function (SHA-3)
Go to file
magical 79b27a1530 add a few more test vectors for SHA-256
these test some boundary conditions for an optimization i'm about to do.

computed using https://emn178.github.io/online-tools/sha3_256.html
2024-10-06 00:40:46 -07:00
sha3sum sha3sum: remove dependency on fmt 2024-10-05 21:18:39 -07:00
const.go Add 512-bit hash. Use SHA-3 padding. 2014-12-31 23:19:05 -08:00
gen.go gen: use short declarations for c and d vars 2024-10-05 21:02:12 -07:00
keccak.go de-unroll Chi loop in roundGeneric 2024-10-05 20:54:51 -07:00
keccak_gen.go gen: use short declarations for c and d vars 2024-10-05 21:02:12 -07:00
keccak_test.go add a few more test vectors for SHA-256 2024-10-06 00:40:46 -07:00
sponge.go add digest.clone method and use it in Sum 2024-10-05 20:17:20 -07:00