Homomorphic encryption
Idea: do some useful operations, or operations, using only encrypted data.
Example: in the RSA cryptosystem with unpadded messages, multiplication of the cipher-texts corresponds to multiplication of the plaintexts.
Using a lot of processing power (and using somewhat cumbersome methods), it is possible to apply an arbitrary function (a logic function described by a boolean circuit) to the encrypted data (to know more, search for fully homomorphic encryption schemes and lattice-based cryptography).
Paillier Cryptosystem
Choose two large primes and . Ensure that is not a factor of , and vice-versa.
Compute and .
Select a random integer in the interval that is coprime to .
Compute . It must be of the form .
Compute .
The public key is
The private key is .
To encrypt the plaintext , with , select a random such that , and compute the ciphertext .
To decrypt, compute , then .
Last updated