I want public key cryptosystem to used for re-encryption as describe in Can Paillier ,RSA or any other schemes be used for universal re-encryption like elGamal?
Now i have little solution for Paillier cryptosystem, to choose key that is dependent on environmental variable. i,e IP-Address .
The problem is how to map this environmental variable to generate two prime p and q, so that it can be regenerated in same way in decryption algorithm( Need decryption key to dependent on environmental variables).
Is there way to map arbitrary variable(environmental key) to map/ generate p and q?