arnaucube 3d67f7912e | 6 years ago | |
---|---|---|
bn128 | 6 years ago | |
dh | 6 years ago | |
ecc | 6 years ago | |
ecdsa | 6 years ago | |
elgamal | 6 years ago | |
paillier | 6 years ago | |
prime | 6 years ago | |
rsa | 6 years ago | |
schnorr | 6 years ago | |
shamirsecretsharing | 6 years ago | |
utils | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
go.mod | 6 years ago | |
go.sum | 6 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