Convert preEncrypt and postDecrypt to use Paillier

It mostly works. Everything works except the final decryption of
database results.
IT
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKS!