This is a hobby cryptograph library that is written in full scratch except for the standart library and TEST code. it includes
- Elliptic Curve(BLS12-381)
- ElGamal Encryption on EC
- RSA Encryption
- Paillier Cryptosystem
- Lagrange Interpolation on Elliptic Curve(BLS12-381)
- Homomorphic Encryption (RSA, ElGamal over EC, Paillier cryptosystem, TLWE)
- zk-proof on Elliptic Curve(BLS12-381)
- TLWE(LWE encryption over torus)
python3 test.py
You can see the result of test in tmp.txt
- TEST
