FHE systems are cryptosystems that allow for meaningful computation on encrypted data. This thesis is about the noise in Fully Homomorphic Encryption (FHE) schemes, its analysis and its consequences for security. The thesis begins with analysing the noise in to FHE systems BGV [10] and CKKS [14] in their implementation in HElib [52] and Lattigo [1], respectively by the use of average-case noise analysis. We show that the use of average-case noise analysis methods result in very precise bounds on the noise and thereby allows for setting efficient parameters in each of these systems. The thesis then uses the results from this noise analysis to investigate two different questions. Li and Micciancio have shown that, under certain circumstances, INDCPA security is not sufficient to capture security in FHE meaningfully. They therefore proposed to introduce the notion of IND-CPA-D security [43]. How IND-CPA-D security can be achieved for CKKS in a practical way is still an open question. This thesis therefore asks whether the average-case bounds obtained on the noise in CKKS can be used to define an exact version of the CKKS scheme, and under which cirumstances this version can proven to be IND-CPA-D secure. The answer to the first part of the question is yes. The answer to the second question is that such a proof can be given if the noise in CKKS is assumed to be normally distributed. This last assumption so far has neither been proven nor disproven. Secondly, the conducted noise analysis is then used to study the question of circuit privacy. An FHE scheme is considered circuit private if the computations that are performed as well as the data on which they are performed is kept private. The strongest known definition of circuit privacy gives statistical guarantees but can, in general, only be achieved by unpractical levels of noise flooding. Therefore, the thesis proceeds by asking: what is the strongest possible definition of circuit privacy that can be achieved by simple and practical means such as modulus switching and rerandomisation of small noise. Additionally, the relation of these techniques to heavy noise flooding is discussed. Next, the thesis asks whether it is possible to answer the above questions for all schemes at once by defining a unified framework, and then performing noise analysis based on this framework. We answer the question positively for BGV, BFV, and CKKS and show how these schemes can be written down within one general framework. We then show that, from this framework, bounds on the noise can be obtained that are as tight as the ones that are obtained for specific implementations of each scheme. We also exemplify how such a framework can be used in general to answer questions on IND-CPA-D security. Last but not least, we consider an application of FHE. Namely, we study the question of whether private DNS look-up (the Domain Name System (DNS) maps domain names to IP addresses) and therefore private surfing of the internet can be realised via applying FHE-base Private Information Retrieval (PIR) schemes. The answer is yes, if we assume that all the domain names and their IP addresses are stored in the same database. Then, with the new PIR protocol that we propose, we are able to retrieve the IP address corresponding to a domain name from a database with 230 entries in less than 3 seconds and 80 KB of communication cost.
FHE systems are cryptosystems that allow for meaningful computation on encrypted data. This thesis is about the noise in Fully Homomorphic Encryption (FHE) schemes, its analysis and its consequences for security. The thesis begins with analysing the noise in to FHE systems BGV [10] and CKKS [14] in their implementation in HElib [52] and Lattigo [1], respectively by the use of average-case noise analysis. We show that the use of average-case noise analysis methods result in very precise bounds on the noise and thereby allows for setting efficient parameters in each of these systems. The thesis then uses the results from this noise analysis to investigate two different questions. Li and Micciancio have shown that, under certain circumstances, INDCPA security is not sufficient to capture security in FHE meaningfully. They therefore proposed to introduce the notion of IND-CPA-D security [43]. How IND-CPA-D security can be achieved for CKKS in a practical way is still an open question. This thesis therefore asks whether the average-case bounds obtained on the noise in CKKS can be used to define an exact version of the CKKS scheme, and under which cirumstances this version can proven to be IND-CPA-D secure. The answer to the first part of the question is yes. The answer to the second question is that such a proof can be given if the noise in CKKS is assumed to be normally distributed. This last assumption so far has neither been proven nor disproven. Secondly, the conducted noise analysis is then used to study the question of circuit privacy. An FHE scheme is considered circuit private if the computations that are performed as well as the data on which they are performed is kept private. The strongest known definition of circuit privacy gives statistical guarantees but can, in general, only be achieved by unpractical levels of noise flooding. Therefore, the thesis proceeds by asking: what is the strongest possible definition of circuit privacy that can be achieved by simple and practical means such as modulus switching and rerandomisation of small noise. Additionally, the relation of these techniques to heavy noise flooding is discussed. Next, the thesis asks whether it is possible to answer the above questions for all schemes at once by defining a unified framework, and then performing noise analysis based on this framework. We answer the question positively for BGV, BFV, and CKKS and show how these schemes can be written down within one general framework. We then show that, from this framework, bounds on the noise can be obtained that are as tight as the ones that are obtained for specific implementations of each scheme. We also exemplify how such a framework can be used in general to answer questions on IND-CPA-D security. Last but not least, we consider an application of FHE. Namely, we study the question of whether private DNS look-up (the Domain Name System (DNS) maps domain names to IP addresses) and therefore private surfing of the internet can be realised via applying FHE-base Private Information Retrieval (PIR) schemes. The answer is yes, if we assume that all the domain names and their IP addresses are stored in the same database. Then, with the new PIR protocol that we propose, we are able to retrieve the IP address corresponding to a domain name from a database with 230 entries in less than 3 seconds and 80 KB of communication cost.
This thesis presents a comprehensive analysis of Fully Homomorphic Encryption (FHE), a transformative advancement in contemporary cryptography. The exponential growth in digital data, coupled with the escalating demand for remote data processing, has elevated the importance of robust information security and privacy mechanisms. Homomorphic Encryption (HE) schemes facilitate the outsourcing of computations to untrusted third parties without exposing the underlying sensitive information, significantly enhancing data privacy assurances. Traditional encryption methods effectively protect data at rest and in transit; however, they inherently lack the capability to perform operations directly on encrypted data. FHE addresses this fundamental shortcoming by enabling intricate computations to be conducted on encrypted data without the necessity of decryption. The thesis begins by outlining the historical development of encryption systems and fundamental cryptographic concepts. It details the progression from the "privacy homomorphism" concept introduced by Rivest, Adleman, and Dertouzos in 1978 to Craig Gentry's seminal work in 2009, which presented the first practical FHE scheme. The key milestones in the evolution of FHE and major contributions in the literature are presented from both theoretical and practical perspectives. Subsequently, the mathematical structures and concepts underlying FHE are discussed in depth. Topics such as lattices, rings and fields, polynomials, number fields, canonical embedding, and ideal structures are examined as the foundational building blocks ensuring the security of FHE. In particular, challenging problems provided by Lattice-Based Cryptography, such as Learning with Errors (LWE), serve as the mathematical basis for FHE's resistance to attacks. The thesis also analyzes the structure, functioning, and differences between modern FHE schemes (such as Brakerski, Gentry and Vaikuntanathan (BGV), Fan and Vercauteren (BFV), and Cheon-Kim-Kim-Song (CKKS)). The practical applications, advantages, limitations, and recent optimization techniques of these schemes are thoroughly examined. Special attention is given to the opportunities FHE offers in sectors where data privacy is paramount, including healthcare, finance, and cloud computing. Key practical challenges such as high computational costs, large key and ciphertext sizes, and noise management are highlighted. Innovations to address these challenges, including hardware accelerators, software optimizations, and open-source libraries (like HELib and SEAL), are explored in detail. The thesis also covers contemporary research areas such as multi-key FHE, privacy-preserving computation in artificial intelligence, and post-quantum cryptography. In conclusion, this thesis presents a broad perspective on FHE, covering its mathematical foundations and practical application potential, while evaluating current developments, limitations, and future research directions. The wider and more efficient xxv adoption of FHE will open new possibilities for information security and privacy. In this context, the thesis aims to serve as a comprehensive resource for both academic and industrial communities. Keywords: Bootstrapping, Relinearization, Ring Learning with Errors, BGV, BFV, CKKS.
A fully homomorphic encryption (FHE) scheme allows a client to encrypt and delegate its data to a server that performs computation on the encrypted data that the client can then decrypt. While FHE gives confidentiality to clients' data, it does not protect the server's input and computation. Nevertheless, FHE schemes are still helpful in building delegation protocols that reduce communication complexity, as the ciphertext's size is independent of the size of the computation performed on them. We can further extend FHE by a property called circuit privacy, which guarantees that the result of computing on ciphertexts reveals no information on the computed function and the inputs of the server. Thereby, circuit private FHE gives rise to round optimal and communication efficient secure two-party computation protocols. Unfortunately, despite significant efforts and much work put into the efficiency and practical implementations of FHE schemes, very little has been done to provide useful and practical FHE supporting circuit privacy. In this work, we address this gap and design the first randomized bootstrapping algorithm whose single invocation sanitizes a ciphertext and, consequently, serves as a tool to provide circuit privacy. We give an extensive analysis, propose parameters, and provide a C++ implementation of our scheme. Our bootstrapping can sanitize a ciphertext to achieve circuit privacy at an 80-bit statistical security level in between 1.3 and 0.9 seconds, depending which Gaussian sampling algorithm is used, and whether the parameter set targets a fast Fourier or a number theoretic transform-based implementation. In addition, we can perform non-sanitized bootstrapping in around 0.27 or 0.14 seconds. Crucially, we do not need to increase the parameters to perform computation before or after sanitization takes place. For comparison's sake, we revisit the Ducas-Stehlé washing machine method. In particular, we give a tight analysis, estimate efficiency, review old, and provide new parameters.
Modern consumer technologies increasingly rely on cloud services and edge computing to process sensitive user data, which must remain private even during computation. Fully homomorphic encryption (FHE) offers a powerful mechanism for enabling such privacy-preserving computation by allowing data to be processed directly in encrypted form. Since Gentry’s breakthrough, all FHE schemes achieving indistinguishability under chosen-plaintext attacks (IND-CPA) have relied on noise-bearing designs. In these constructions, noise plays a central role in ensuring security, but also introduces substantial efficiency overhead. Thus, whether a secure and efficientnoise-freeFHE scheme is possible has remained an open question. A recent work marketed as “edge-based quantum-secure FHE’’ (EB-QFHE) claims to resolve this challenge by proposing a noise-free construction over a prime field and asserting both IND-CPA security and improved efficiency (IEEE Transactions on Consumer Electronics, 2025). In this paper, we present polynomial-time key-recovery attacks against EB-QFHE schemes. Our attacks derive two low-degree univariate polynomials from public information, whose unique common root corresponds to the secret key, and recover it by applying standard polynomial root-finding algorithms. Our theoretical analysis shows that the attacks succeed with overwhelming probability. Furthermore, our SageMath implementation demonstrates that the proposed attacks recover the secret key with a 100% success rate in under one second under the parameter settings recommended in the original paper. Our findings have direct implications for consumer electronics security: edge devices, gateways for the Internet of Things (IoT), and smart appliances that adopt EB-QFHE become completely vulnerable, since an adversary can recover the secret key solely from publicly available parameters.
A critical challenge in a fully homomorphic encryption (FHE) scheme is to manage noise. Modulus switching technique is currently the most efficient noise management technique. When using the modulus switching technique to design and implement a FHE scheme, how to choose concrete parameters is an important step, but to our best knowledge, this step has drawn very little attention to the existing FHE researches in the literature. The contributions of this paper are twofold. On one hand, we propose a function of the lower bound of dimension value in the switching techniques depending on the LWE specific security levels. On the other hand, as a case study, we modify the Brakerski FHE scheme (in Crypto 2012) by using the modulus switching technique. We recommend concrete parameter values of our proposed scheme and provide security analysis. Our result shows that the modified FHE scheme is more efficient than the original Brakerski scheme in the same security level.
IND-CPA-D security is an extension of IND-CPA security introduced in the context of Fully Homomorphic Encryption (FHE). It captures the situation where the computation result is known to the adversary; it is in particular necessary for FHE with threshold decryption. This work presents three new attacks in this situation on the BFV and BGV FHE schemes, when their parameters are instantiated with heuristic assumptions commonly used to enable correctness. We first extend the bootstrapping failure attacks from Cheon et al. [CCS'24] on the DM/CGGI and CKKS schemes, to both BFV and BGV. We focus on BGV when instantiated with the so-called powerful-basis representation of ring elements. The second attack relies on skewing the ciphertext noise in BFV, making it outpace the heuristic noise bounds for plaintext-ciphertext multiplications. This is achieved by crafting plaintexts, for which the noise bounds do not hold. The third and last attack focuses on outpacing the noise growth in BFV ciphertext-ciphertext multiplications. For this purpose, we skew the mask part of the ciphertext by selecting a random encryption of zero, whose addition yields a ciphertext with a sufficiently large mask norm. While the first two attacks successfully recover the secret key, the last attack instead breaks the IND-CPA-D indistinguishability game. We report experiments on all these attacks, based on the HElib and OpenFHE libraries, respectively, for BGV and BFV. Notably, the second attack implemented in OpenFHE fully recovers the secret key in a few minutes to a few hours, depending on the parameters.
The idea of computing on encrypted data without decryption dates back to the notion of privacy homomorphisms introduced by Rivest, Adleman, and Dertouzos (1978). Their proposals built using the elegant structure of Chinese Remainder Theorem (CRT), were later shown to be insecure under simple known-plaintext attacks. Subsequent CRT-based fully homomorphic encryption (FHE) over the integers addresses this algebraic transparency by injecting noise and basing security on approximate common divisor–type assumptions, but the resulting designs are burdened by large public keys and costly ciphertext refresh procedures. In this work, we develop a new CRT-based FHE scheme whose security relies on the Ring-LWE (RLWE) hardness assumption. For this purpose, we introduce the CRT-RLWE problem. We show that the problem is at least as hard as the RLWE, thereby positioning our construction within the established post-quantum security landscape of RLWE-based cryptography. Our scheme retains an explicit CRT embedding, separating a message component modulo a prime-power plaintext modulus and an auxiliary CRT component, while using RLWE-style key and ring arithmetic for compactness and efficiency. Finally, we make it fully homomorphic by using a new bootstrapping procedure, that adopts the recryption paradigm for BGV/BFV schemes utilizing the linear transformation and digit extraction techniques.