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 151ca78806 bn128 finite fields operations 6 years ago
bn128 bn128 finite fields operations 6 years ago
dh Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago
ecc bn128 finite fields operations 6 years ago
ecdsa bn128 finite fields operations 6 years ago
elgamal bn128 finite fields operations 6 years ago
paillier Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago
prime shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 6 years ago
rsa Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago
schnorr bn128 finite fields operations 6 years ago
shamirsecretsharing bn128 finite fields operations 6 years ago
utils bn128 finite fields operations 6 years ago
.gitignore Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago
LICENSE Initial commit 6 years ago
README.md bn128 finite fields operations 6 years ago
go.mod Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago
go.sum Schnorr signature implemented. ECC point multiplication with big int. Refactor of the code. 6 years ago

README.md

cryptofun Go Report Card

Crypto algorithms from scratch. Academic purposes only.

RSA

https://en.wikipedia.org/wiki/RSA_(cryptosystem)#

Paillier

https://en.wikipedia.org/wiki/Paillier_cryptosystem

Shamir Secret Sharing

https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing

Diffie-Hellman

https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange

ECC

https://en.wikipedia.org/wiki/Elliptic-curve_cryptography

ECC ElGamal

https://en.wikipedia.org/wiki/ElGamal_encryption

ECC ECDSA

https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm

Schnorr signature

https://en.wikipedia.org/wiki/Schnorr_signature

Bn128

[not finished]

This is implemented followng the implementations and info from:


To run all tests:

go test ./... -v