You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucube 3d67f7912e bn128 G1 and G2 operations 5 years ago
bn128 bn128 G1 and G2 operations 5 years ago
dh Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago
ecc bn128 finite fields operations 5 years ago
ecdsa bn128 finite fields operations 5 years ago
elgamal bn128 finite fields operations 5 years ago
paillier Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago
prime shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 5 years ago
rsa Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago
schnorr bn128 finite fields operations 5 years ago
shamirsecretsharing bn128 finite fields operations 5 years ago
utils bn128 finite fields operations 5 years ago
.gitignore Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago
LICENSE Initial commit 5 years ago
README.md bn128 G1 and G2 operations 5 years ago
go.mod Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago
go.sum Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 5 years ago

README.md

cryptofun Go Report Card

Crypto algorithms from scratch. Academic purposes only.

RSA cryptosystem & Blind signature & Homomorphic Multiplication

Paillier cryptosystem & Homomorphic Addition

Shamir Secret Sharing

Diffie-Hellman

ECC

ECC ElGamal

ECC ECDSA

Schnorr signature

Bn128

[not finished]

This is implemented followng the implementations and info from:


To run all tests:

go test ./... -v