Algorithm 1: The General Unbounded FHE Scheme without Noises |
Secret Key: One selects m pairwise relatively prime ideal lattices in as the decryption key. |
Public Key: Let be the one dimensional modulus of . The plaintexts space is the direct sum of ring , the addition and multiplication in are given by
The public key for encryption is , and each is given by (2.5). |
Encryption: For any plaintext , the encryption function f is given by (2.6) where is the embedding of . |
Decryption: For any ciphertext , we use the secret key to decrypt c. Since for every i, , we have , and c mod is a unique vector in the orthogonal parallelepiped of , thus one has c mod , and by (2.3), we have
|