An implementation of the Paillier Cryptosystem