[Paper Review] Homomorphic encryption from codes
This paper proposes a novel code-based homomorphic encryption scheme where the message is embedded in the affine part of an encryption transformation, while noise is used solely for security. Unlike lattice-based schemes, it achieves proto-homomorphic operations via pointwise addition and multiplication of ciphertexts, and introduces two new error-handling techniques to manage inherent encryption errors, enabling efficient bootstrapping and a clean security framework.
We propose a new homomorphic encryption scheme based on the hardness of decoding under independent random noise from certain affine families of codes. Unlike in previous lattice-based homomorphic encryption schemes, where the message is hidden in the noisy part of the ciphertext, our scheme carries the message in the affine part of the transformation and applies noise only to achieve security. Our scheme can tolerate noise of arbitrary magnitude, as long as the noise vector has sufficiently small hamming weight (and its entries are independent). Our design achieves "proto-homomorphic" properties in an elementary manner: message addition and multiplication are emulated by pointwise addition and multiplication of the ciphertext vectors. Moreover, the extremely simple nature of our decryption makes the scheme easily amenable to bootstrapping. However, some complications are caused by the inherent presence of noticeable encryption error. Our main technical contribution is the development of two new techniques for handling this error in the homomorphic evaluation process. We also provide a definitional framework for homomorphic encryption that may be useful elsewhere.
Motivation & Objective
- To develop a new homomorphic encryption scheme based on code-based cryptography, differing fundamentally from lattice-based approaches by embedding messages in the affine component rather than hiding them in noise.
- To achieve proto-homomorphic properties—addition and multiplication—through elementary pointwise operations on ciphertext vectors.
- To address the challenge of inherent encryption error in the scheme using two novel technical techniques for error management during homomorphic evaluation.
- To enable efficient bootstrapping due to the simplicity of the decryption process, which is critical for fully homomorphic encryption.
- To provide a definitional framework for homomorphic encryption that may be reusable in other cryptographic constructions.
Proposed method
- The scheme uses an affine transformation defined by a secret key (S, M) and a public key P = MR, where M is constructed from random field elements and structured based on membership in a subset S.
- Encryption involves computing Px + m·1 + e, where m is the message, 1 is the all-ones vector, and e is a noise vector drawn from an independent distribution over F_q.
- Decryption recovers the message by solving a system of s/3 + 1 linear equations over F_q involving only indices in S, using a Vandermonde matrix structure to ensure solvability.
- The scheme leverages a length-preserving reencryption circuit to support bootstrapping, with security relying on the independence of key pairs.
- To handle encryption error, the scheme uses a k-fold repetition of ciphertexts and majority voting in both encryption and decryption to reduce error probability to 2^{-Ω(k)}.
- Homomorphic evaluation is achieved via a template that composes multiple instances of the base scheme, using pointwise operations and a booster circuit to maintain correctness under error.
Experimental results
Research questions
- RQ1Can a homomorphic encryption scheme be constructed where the message is encoded in the affine part of a code-based transformation, rather than hidden in noise?
- RQ2How can homomorphic addition and multiplication be realized through simple pointwise operations on ciphertexts in a code-based setting?
- RQ3What techniques are required to manage and suppress the inherent encryption error in such a scheme during homomorphic evaluation?
- RQ4Is it possible to achieve efficient bootstrapping in a code-based homomorphic encryption system due to the simplicity of decryption?
- RQ5Can a definitional framework for homomorphic encryption be developed that is general and reusable beyond this specific construction?
Key findings
- The scheme achieves proto-homomorphic properties via pointwise addition and multiplication of ciphertexts, enabling basic homomorphic evaluation of circuits.
- The encryption error is reduced to 2^{-Ω(k)} through k-fold repetition and majority voting, enabling reliable homomorphic evaluation.
- The key length for evaluating a depth-d circuit is O(dkn), where n is the security parameter, and the setup error is d·2^{-Ω(k)}.
- The scheme is (s(n^{0.1}) - dk·poly(n), O(dkn^{1.8}ε(n^{0.1}))) - message indistinguishable under the assumed security of the base code-based scheme.
- The decryption process is highly efficient and amenable to bootstrapping due to its simple linear algebraic structure.
- The authors introduce two novel techniques for handling encryption error in homomorphic evaluation, which are critical for the scheme’s correctness and security.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.