The Fast Paillier Decryption with Montgomery Modular Multiplication Based on OpenMP
计算机科学
算术
模运算
并行计算
乘法(音乐)
模块化设计
程序设计语言
数学
组合数学
作者
Decong Lin,Hongbo Cao,Chunzi Tian,Yongqi Sun
标识
DOI:10.1109/paap56126.2022.10010630
摘要
With the increasing awareness of privacy protection and data security, people's concerns over the confidentiality of sensitive data still limit the application of distributed artificial intelligence. In fact, a new encryption form, called homomorphic encryption(HE), has achieved a balance between security and operability. In particular, one of the HE schemes named Paillier has been adopted to protect data privacy in distributed artificial intelligence. However, the massive computation of modular multiplication in Paillier greatly affects the speed of encryption and decryption. In this paper, we propose a fast CRT-Paillier scheme to accelerate its decryption process. We first introduce the Montgomery algorithm to the CRT-Paillier to improve the process of the modular exponentiation, and then compute the modular exponentiation in parallel by using OpenMP. The experimental results show that our proposed scheme has greatly heightened its decryption speed while preserving the same security level. Especially, when the key length is 4096-bit, its speed of decryption is about 148 times faster than CRT-Paillier.