Pure Python Paillier Homomorphic Cryptosystem
python
crypto
A Paillier homomorphic cryptosystem implemented in pure Python.
What
This is a very basic Paillier Homomorphic Cryptosystem implemented in pure Python.
The idea is, in short, to encrypt two numbers, perform an “add” operation on cyphertexts, decrypt the result and find it to be the sum of the original plaintext numbers.
How
The code is loosely based on the thep project and a few ActiveState recipes. The code is pure Python and all objects are serializable.
Where
Why
I was bored.