Initialization of paillier cryptosystem logic