Show HN: Hazmat Math – Elliptic curve arithmetic for Cryptography.io objects
github.com
github.com
Right now these are focused on a tight binding between Python and C (specifically, OpenSSL). The function names are direct equivalents of OpenSSL function names. Most of the rest of the library provides an abstraction from OpenSSL -- but it turns out that providing a safe abstraction to cryptographic primitives can be very tricky :-)
(Disclaimer: I'm one of the founders of cryptography.io; I occasionally show up for cryptographic background. This project builds on that project, and is being considered for upstream inclusion.)
I built this because I was prototyping a split-key proxy re-encryption scheme with cryptography.io and I needed to perform some of this arithmetic. I found that a PR was made to include it but the team seemed hesitant to add it in.
I thought it would be best to build it as a separate module. Everything is working great so far. I think I'll probably add the rest of the arithmetic to it eventually.
Anyway, thanks for dropping in! :)
I built this so we could build something for production and prototype rapidly with the same toolset.