11 Commits

Author SHA1 Message Date
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
d6e555a97c avoid an alloc in sha-512 benchmarks 2024-10-05 19:50:43 -07:00
a0d95be4fb test: Rename some variables. 2015-01-08 15:09:38 -08:00
7b92fe3532 Add another test vector. 2015-01-03 01:36:56 -08:00
16d859b6d8 More tests and benchmarks. 2015-01-03 00:03:28 -08:00
c04abc1bf8 Fix benchmark - stop allocating on every iteration. 2015-01-01 20:50:56 -08:00
0b361a2be7 Combine Rho with Pi and Chi.
Starting to switch to plane-wise processing.
2015-01-01 03:06:32 -08:00
dd21e91ec1 Add 512-bit hash. Use SHA-3 padding. 2014-12-31 23:19:05 -08:00
df6edcd0bb Generate a faster round function. 2014-12-31 16:43:36 -08:00
c9dcfb85a1 Gofmt 2014-12-31 15:19:23 -08:00
ed04711f60 Initial commit. 2014-12-31 14:59:00 -08:00