Completed: DFINITY Bounty #4: Keccak-256 and SHA3 Motoko Library - $2'000 in ICP

So I added the missing 224- and 384-bit hash sizes for SHA3 and Keccak-256. Turns out the padding difference is pretty minor. You only need to use the old 0x01 value for Keccak. NIST updated that to 0x06 for SHA3.

The updates along with all the modes are in the react0r-com/crypto.mo/blob/main/src/SHA/ directory of the Github repo.

1 Like