A literate :pencil: implementation of algebraic primitives for cryptography and algebraic applications :alembic:
This is a small library I write as a parallel of studying algebra
and number theory related to cryptography it’s not suitable for production usage
and I doubt it ever will.
It aims to be literate.
It’s a WIP and might take time to be finished.
crypto/schnorr
package implements Vanilla EC-Schnorr.crypto/bp
package implements Bulletproofs.bf
package implements binary fields.ec
package implements elliptic curve primitives andnt
package implements number theoretic algorithms and primitives usingff
package implements generic finite fields and field elements.group
package implements some custom groups such as Zp,GF(2),GF(8)…poly
package implements polynomials over rings.pairing
package implements bilinear pairings.