Algorithm 5: The General Unbounded FHE Scheme |
Secret Key: One randomly selects m pairwise relatively prime principal ideal lattices in as the decryption key according to Algorithm 3. |
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
Let be a probabilistic distribution over . The public key for encryption is , and each , where given by Algorithm 4 and given by (3.4). |
Encryption: For any plaintext , the encryption function is given by (3.5) 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 Lemma 3.1 and (2.3), we have
|