<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>homomorphic encryption libraries &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/homomorphic-encryption-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 Sep 2026 16:07:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.1</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>homomorphic encryption libraries &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>New survey maps how compilers make encrypted computing usable</title>
		<link>https://scienmag.com/new-survey-maps-how-compilers-make-encrypted-computing-usable/</link>
		
		<dc:creator><![CDATA[Denise Maddox]]></dc:creator>
		<pubDate>Tue, 22 Sep 2026 16:07:57 +0000</pubDate>
				<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[advancements in homomorphic encryption compiler technology]]></category>
		<category><![CDATA[bootstrapping]]></category>
		<category><![CDATA[challenges in encrypted program development]]></category>
		<category><![CDATA[CKKS scheme]]></category>
		<category><![CDATA[cloud computing privacy]]></category>
		<category><![CDATA[compilers]]></category>
		<category><![CDATA[cryptographic techniques for data privacy]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[Data Privacy]]></category>
		<category><![CDATA[encrypted data processing in cloud computing]]></category>
		<category><![CDATA[end-to-end encrypted data analysis]]></category>
		<category><![CDATA[fully homomorphic encryption]]></category>
		<category><![CDATA[fully homomorphic encryption software tools]]></category>
		<category><![CDATA[homomorphic encryption compilers]]></category>
		<category><![CDATA[homomorphic encryption libraries]]></category>
		<category><![CDATA[homomorphic encryption scheme implementations]]></category>
		<category><![CDATA[improving efficiency of encrypted computations]]></category>
		<category><![CDATA[Machine learning]]></category>
		<category><![CDATA[parameter selection]]></category>
		<category><![CDATA[program synthesis]]></category>
		<category><![CDATA[scale management]]></category>
		<category><![CDATA[secure data outsourcing in healthcare and finance]]></category>
		<category><![CDATA[SIMD vectorization]]></category>
		<category><![CDATA[software mapping of homomorphic encryption schemes]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=206595</guid>

					<description><![CDATA[A new survey systematically examines the compilers that translate ordinary programs into fully homomorphic encryption code, a technology that enables computing on encrypted data but remains up to 100,000 times slower than plaintext computation.]]></description>
										<content:encoded><![CDATA[<p>Fully homomorphic encryption has long been billed as the holy grail of data privacy: a cryptographic technique that lets a cloud server compute on encrypted data without ever seeing a single plaintext value. Yet for all its promise, actually writing a homomorphic encryption program has remained a punishingly specialized art. A new open-access survey in the journal Cybersecurity, led by Zhuoyu Tian of the Institute of Information Engineering at the Chinese Academy of Sciences together with colleagues from the University of Chinese Academy of Sciences and Ant Research, offers the most detailed map yet of the software tools, known as fully homomorphic encryption compilers, that are trying to change that.</p>
<p>The stakes are enormous. Fully homomorphic encryption enables end-to-end encrypted data processing in untrusted environments, meaning a hospital could outsource genome analysis or a bank could delegate fraud detection to a cloud provider without exposing any sensitive records. Schemes such as BGV, BFV, GSW, CKKS, and TFHE have matured steadily over the past decade, and libraries like HElib, SEAL, HEAAN, Lattigo, OpenFHE, and PALISADE now implement their underlying arithmetic. But even with these libraries, the survey reports, encrypted computations on CPUs run four to five orders of magnitude slower than their plaintext equivalents. Well-optimized programs can be hundreds of times faster than naive ones, which makes efficient programming not a nicety but a necessity.</p>
<p>The difficulty begins with the extremely restricted set of primitive operations. Homomorphic programs can only perform vector element-wise addition, element-wise multiplication, and rotation shifts over long ciphertext vectors containing thousands to tens of thousands of slots. Operations that are trivial on a CPU, such as accessing a single array element or shuffling a vector, can require dozens or even hundreds of rotations and consume precious computational budget. Sophisticated tricks, like the single-input single-output convolution scheme that needs only kernel-squared rotations instead of a naive avalanche of masks and shifts, can improve efficiency by orders of magnitude, but designing such non-intuitive implementations demands years of cryptographic and numerical expertise.</p>
<p>A second layer of complexity comes from ciphertext maintenance. In the CKKS scheme, which the survey focuses on because of its dominance in machine learning workloads, every multiplication roughly squares a ciphertext&#8217;s scaling factor, and Rescale operations must be strategically inserted to keep scales and noise from growing exponentially. Binary operations also impose strict constraints: their operands must sit at the same level and, for additions, share the same scaling factor. Even seemingly obvious strategies backfire. The survey&#8217;s authors walk through a simple computation of x squared plus x to show that the always-rescale approach wastes a level, and a ResNet-style example demonstrates that naively bootstrapping ciphertexts the moment they run out of levels can nullify most of bootstrapping&#8217;s benefit, an operation that alone can consume over 80 percent of total runtime in deep inference workloads.</p>
<p>Parameter selection forms a third minefield. The polynomial degree N, the initial level budget L, and the small-prime bit width B interact in complicated ways that determine correctness, security, and speed simultaneously. The approximate nature of CKKS makes this worse: unlike exact schemes such as BFV and BGV, CKKS decryption always carries error, and bootstrapping merely restores multiplication capacity without cleaning the noise. The survey cites a striking case where a ResNet-20 inference program achieves 89.53 percent accuracy with a prime width of 33 bits but collapses to 10.87 percent, essentially random guessing, when that width drops to 31 bits.</p>
<p>Fully homomorphic encryption compilers attack these problems by translating ordinary programs, whether tensor code resembling PyTorch or plain scalar programs with loops, into optimized ciphertext programs. The survey describes a typical workflow: parse the input into an internal graph representation, optionally rewrite primitive operations, insert scale management and bootstrapping operations, choose evaluation keys and cryptographic parameters, and finally emit source code targeting a backend library or a standalone executable. Crucially, these compilers are device-agnostic, introducing minimal overhead compared with dedicated hardware accelerators, and they often generate code that outperforms expert hand-tuned implementations.</p>
<p>The heart of the survey is a systematic dissection of scale-management techniques. EVA, the first compiler to prioritize this problem, introduced watermark-based rescaling and eager level matching, delivering a 2.3-times average speedup over earlier approaches. Hecate extended that framework with a new Downscale operation and a search procedure driven by a cost model, gaining a further 27.85 percent on average but at the price of compilation times that can stretch to hundreds of seconds. ELASM added a scale-to-noise-ratio concept with noise-aware waterlines, letting users trade accuracy against latency, cutting output error by tens to hundreds of times at equal latency. The newest entrant, Reserve, replaces search with a backward static analysis that nearly matches Hecate&#8217;s performance while compiling in seconds rather than minutes.</p>
<p>Bootstrapping insertion has undergone a parallel revolution. DaCapo uses liveness analysis, bypass edge detection, and dynamic programming to find cost-minimizing insertion points, achieving a 1.21-times speedup over manual implementations on networks up to ResNet-40 and MobileNet. Fhelipe streamlines the same idea with depth boundaries and shortcut edges, and additionally supports hundreds of tensor data layouts, producing an 18.5-times speedup over the earlier layout compiler CHET. HALO specializes in dynamic loops whose trip counts depend on encrypted values, packing loop-carried variables into a single bootstrapped ciphertext and reducing code size by up to 11 times compared with DaCapo. Orion, tailored to private neural inference, models bootstrapping placement as a shortest-path problem on a level digraph, reducing ResNet-20 compilation to under two seconds, an 8.14-times speedup over DaCapo, and trimming inserted bootstraps by 36.2 percent relative to Fhelipe.</p>
<p>For general scalar programs, the survey contrasts synthesis-based and heuristic-based vectorization. Porcupine uses counter-example-guided program synthesis to discover optimal homomorphic kernels, matching or beating expert code with up to 52 percent improvements, but it can only handle roughly a dozen instructions and needed over 609 seconds for a small image filter. Coyote, building on superword-level parallelism, shows why naive vectorization fails when rotations are expensive, yet its own gains remain modest at 0.74 times expert performance. HECO, by contrast, applies a heuristic batching pipeline that transforms imperative code into efficient vectorized form in under a second, delivering three to four orders of magnitude improvement over naive element-by-element translation while scaling to large programs.</p>
<p>The survey closes with a candid assessment of what remains broken. Most compilers still target only the SEAL library, which lacks bootstrapping support and therefore caps program depth; documentation and user experience lag far behind mainstream compiler infrastructure; and parameter selection often relies on crude fixed defaults rather than precise cost models. The authors call for compilers that integrate state-of-the-art homomorphic algorithms, support general-purpose control flow, span multiple schemes from CKKS to TFHE, and even compile across schemes within a single application, an area where only the HEIR project has made an early start. Their conclusion is unambiguous: just as compilers absorbed the manual optimizations of early CPU programming, fully homomorphic encryption compilers are poised to become the primary gateway through which ordinary programmers, not cryptographers, will unlock computation on encrypted data.</p>
<p><strong>Subject of Research:</strong> Compilers for fully homomorphic encryption, the tools that automatically convert ordinary programs into optimized code for computing on encrypted data.</p>
<p><strong>Article Title:</strong> A survey on fully homomorphic encryption compilers</p>
<p><strong>Article References:</strong> Tian, Z., Fan, S., Deng, X., Hou, R., Meng, D., &amp; Zhang, M. (2026). A survey on fully homomorphic encryption compilers. <em>Cybersecurity, 9</em>(1), Article 218. <a href="https://doi.org/10.1186/s42400-026-00641-z" rel="noopener noreferrer">https://doi.org/10.1186/s42400-026-00641-z</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.1186/s42400-026-00641-z" rel="noopener noreferrer">10.1186/s42400-026-00641-z</a></p>
<p><strong>Keywords:</strong> fully homomorphic encryption, compilers, CKKS scheme, cryptography, cloud computing privacy, bootstrapping, scale management, SIMD vectorization, machine learning, program synthesis, parameter selection, data privacy</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">206595</post-id>	</item>
	</channel>
</rss>
