arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.07304cs.CR
收藏

基于RWLE的同态加密的至少两倍优化

At Least Factor-of-Two Optimization for RWLE-Based Homomorphic Encryption

Jonathan Ly

AI总结:

针对现有同态加密缓存方案的性能局限,提出名为Zinc的新加密方法,以单次标量加法替代多重缓存并注入常数时间随机数,在保证安全的同时提升效率,且基于Microsoft SEAL实现并与原生CKKS对比性能。

摘要:

许多处理敏感数据的现代应用(如医疗保健和政务服务)会将计算外包给云平台。在这类不可信环境中,隐私至关重要。同态加密(HE)是解决该问题的一种方案,它是一类无需解密即可对加密数据执行特定代数运算的密码学方案。然而,尽管取得了重大进展,现代HE方案的加密仍存在不小的计算开销,会阻碍数据密集型工作负载的运行。为解决这一问题,近期研究表明,利用Rache这类缓存技术可在保证安全性的同时显著提升HE方案的性能。但Rache存在一个关键局限:其缓存过程的时间复杂度随明文空间的大小线性增长。Smuche是另一种缓存方案,它同时提升了缓存过程的可扩展性,且仅使用一次标量乘法就将加密过程转化为常数时间操作。即便如此,仍有进一步优化的空间。本文提出一种名为“Zinc”的加密方法,它完全摒弃了多重缓存过程,代之以单次标量加法,随后注入相对于明文空间为常数时间的随机数。这种随机数注入方式与Smuche类似,且相较于Rache有大幅提升,使Zinc在不牺牲安全性的前提下实现了高效性。我们使用Microsoft SEAL实现了该方案,并将其性能与原生CKKS进行了对比。

英文摘要:

Many modern applications that deal with sensitive data, such as healthcare and government services, outsource computation to cloud platforms. In such untrusted environments, privacy is of vital importance. One solution to this problem is homomorphic encryption (HE), a family of cryptographic schemes that support certain algebraic operations on encrypted data without the need for decryption. However, despite major advancements, encryption in modern HE schemes still comes with a non-trivial computational overhead that can hamper data-intensive workloads. To resolve this, recent research has shown that leveraging caching techniques, such as Rache, can significantly enhance the performance of HE schemes while maintaining security. Rache unfortunately displays a key limitation in the time complexity of its caching procedure, which scales with the size of the plaintext space. Smuche is another caching scheme that simultaneously improves the scalability of the caching procedure and turns the encryption process into a constant-time operation, utilizing only a single scalar multiplication. Even still, more can be done. In this paper, we present an encryption method we call ``Zinc" which entirely forgoes the multiple caching process, replacing it with a single scalar addition, and then injecting randomness that takes constant time with respect to the plaintext space. This injection of randomness is similar to Smuche, and a great improvement from Rache, allowing Zinc to achieve efficiency without compromising security. We implement the scheme using Microsoft SEAL and compare its performance to vanilla CKKS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑