Samples on how to work with the Paillier Libary (http://hms.isi.jhu.edu/acsc/libpaillier/):
- Encryption/decryption
- Encrypted summation
- Export/import keys and ciphertexts
Detailed explanation available at: https://mshcruzresearch.wordpress.com/2017/01/26/using-paillier-library/