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.
arnaucode a440bab76a ECC fixed Add, added Mul 5 years ago
dh added Diffie-Hellman. Started impl ECC 5 years ago
ecc ECC fixed Add, added Mul 5 years ago
paillier shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 5 years ago
prime shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 5 years ago
rsa shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 5 years ago
secrets added Diffie-Hellman. Started impl ECC 5 years ago
.gitignore shamir secret sharing: create secret sharing, and reconstruct secret from shares with Langrange Interpolation 5 years ago
LICENSE Initial commit 5 years ago
README.md ECC fixed Add, added Mul 5 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

To run all tests:

go test ./... -v