P2P-CKKS: enhancing homomorphic encryption efficiency via dynamic power-of-two vector padding

Abstract The CKKS scheme supports secure approximate arithmetic on encrypted real-valued data, but its performance suffers when input vectors are not of power-of-two length. We propose Power-of-Two CKKS (P2P-CKKS), a variant that automatically pads input vectors with zeros up to the next power of two. This padding prevents overflow and other error conditions, enabling efficient Fast Fourier Transform (FFT) operations for polynomial arithmetic. Our experiments show that P2P-CKKS maintains the same accuracy as the original data while substantially improving computational efficiency. Importantly, even when inputs are already powers of two, P2P-CKKS matches or exceeds the execution speed of standard CKKS. In our tests, P2P-CKKS achieved a 100% success rate across all examined vector sizes, demonstrating robust scalability. These results suggest that adaptive zero-padding is a straightforward but effective strategy for improving the efficiency of encrypted computation.

Authors

Institutions

Publication Details

Journal
Journal of Electrical Systems and Information Technology
Published
2025-10-13
DOI
https://doi.org/10.1186/s43067-025-00276-z
Primary Topic
Cryptography and Data Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

P2P-CKKS: enhancing homomorphic encryption efficiency via dynamic power-of-two vector padding

Franco Osei-Wusu, Emmanuel Ahene, Elvis Antwi Sarfo
Journal of Electrical Systems and Information Technology
Cryptography and Data Security
article

P2P-CKKS: enhancing homomorphic encryption efficiency via dynamic power-of-two vector padding

Franco Osei-Wusu, Emmanuel Ahene, Elvis Antwi Sarfo
article en

Abstract

Abstract The CKKS scheme supports secure approximate arithmetic on encrypted real-valued data, but its performance suffers when input vectors are not of power-of-two length. We propose Power-of-Two CKKS (P2P-CKKS), a variant that automatically pads input vectors with zeros up to the next power of two. This padding prevents overflow and other error conditions, enabling efficient Fast Fourier Transform (FFT) operations for polynomial arithmetic. Our experiments show that P2P-CKKS maintains the same accuracy as the original data while substantially improving computational efficiency. Importantly, even when inputs are already powers of two, P2P-CKKS matches or exceeds the execution speed of standard CKKS. In our tests, P2P-CKKS achieved a 100% success rate across all examined vector sizes, demonstrating robust scalability. These results suggest that adaptive zero-padding is a straightforward but effective strategy for improving the efficiency of encrypted computation.

Journal of Electrical Systems and Information TechnologyVol. 12(1)
Kwame Nkrumah University of Science and Technology (GH)
Openalex Percentile: Top 85%
Cryptography and Data Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.