SHA3: Call for testers

I created a quick little implementation of sha3 based on the NIST white paper and a video I was watching from computerphile.

As they say, “never roll your own crypto”. So, I really want the community to test this module and mercilessly critique/refactor it if needed. All of my test cases pass but I don’t know what I don’t know. Maybe we can build hundreds more test cases.

Maybe there’s some edge case in there that makes this lib DANGEROUS in some way. Thats what I’m reaching out to hopefully prevent.

Here’s a link. Don’t worry about hurting my feelings. Be ruthless.

Disclaimer. Yes I know that sha3 probably isn’t quite ready for production use and has yet to be fully verified by the cryptographic community.

2 Likes

Since I posted this, I made MAJOR revisions to it using native back ends rather than pure Purescript. Tried to use as few dependencies as possible.

Benchmarking led me to find a TON of performance in both back ends.

I eventually molded the Chez Scheme version (with some major nix surgery to provision the latest purescm) to utterly trounce the JavaScript version.

The Chez-Scheme part was a fun experiment.

2 Likes