Paper 2024/1667

Overlapped Bootstrapping for FHEW/TFHE and Its Application to SHA3

Deokhwa Hong, Inha University
Youngjin Choi, Inha University
Yongwoo Lee, Inha University
Young-Sik Kim, Daegu Gyeongbuk Institute of Science and Technology
Abstract

Homomorphic Encryption (HE) enables operations on encrypted data without requiring decryption, thus allowing for secure handling of confidential data within smart contracts. Among the known HE schemes, FHEW and TFHE are particularly notable for use in smart contracts due to their lightweight nature and support for arbitrary logical gates. In contrast, other HE schemes often require several gigabytes of keys and are limited to supporting only addition and multiplication. As a result, there has been significant work implementing smart contract functionalities over HE, broadening the potential applications of blockchain technology. However, a significant drawback of the FHEW/TFHE schemes is the need for bootstrapping after the execution of each binary gate. While bootstrapping reduces noise in the ciphertext, it also becomes a performance bottleneck due to its computational complexity. In this work, we propose an efficient new bootstrapping method for FHEW/TFHE that takes advantage of the flexible scaling factors of encrypted data. The proposed method is particularly beneficial in circuits with consecutive XOR gates. Moreover, we implement Keccak using FHEW/TFHE, as it is one of the most important functions in smart contracts. Our experimental results demonstrate that the proposed method reduces the runtime of Keccak over HE by 42%. Additionally, the proposed method does not require additional keys or parameter sets from the key-generating party and can be adopted by the computing party without need for any extra information.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
BootstrappingCryptographic hash functionHomomorphic encryption
Contact author(s)
deokhwa @ inha edu
cyjiin07 @ gmail com
yongwoo @ inha ac kr
ysk @ dgist ac kr
History
2024-10-18: revised
2024-10-15: received
See all versions
Short URL
https://ia.cr/2024/1667
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1667,
      author = {Deokhwa Hong and Youngjin Choi and Yongwoo Lee and Young-Sik Kim},
      title = {Overlapped Bootstrapping for {FHEW}/{TFHE} and Its Application to {SHA3}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1667},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1667}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.