arnaucube 3d67f7912e | 5 years ago | |
---|---|---|
bn128 | 5 years ago | |
dh | 5 years ago | |
ecc | 5 years ago | |
ecdsa | 5 years ago | |
elgamal | 5 years ago | |
paillier | 5 years ago | |
prime | 5 years ago | |
rsa | 5 years ago | |
schnorr | 5 years ago | |
shamirsecretsharing | 5 years ago | |
utils | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago |
Crypto algorithms from scratch. Academic purposes only.
[not finished]
This is implemented followng the implementations and info from:
Multiplication and Squaring on Pairing-Friendly Fields
, Augusto Jun Devegili, Colm Ó hÉigeartaigh, Michael Scott, and Ricardo Dahab https://pdfs.semanticscholar.org/3e01/de88d7428076b2547b60072088507d881bf1.pdf
Optimal Pairings
, Frederik Vercauteren https://www.cosic.esat.kuleuven.be/bcrypt/optimal.pdf
Double-and-Add with Relative Jacobian Coordinates
, Björn Fay https://eprint.iacr.org/2014/1014.pdf
Fast and Regular Algorithms for Scalar Multiplication over Elliptic Curves
, Matthieu Rivain https://eprint.iacr.org/2011/338.pdf
To run all tests:
go test ./... -v