Paper 2025/1449

REFHE: Fully Homomorphic ALU

Zvika Brakerski, Advisor to dWallet Labs
Offir Friedman, dWallet Labs
Daniel Golan, dWallet Labs
Alon Gurny, dWallet Labs
Dolev Mutzari, dWallet Labs
Ohad Sheinfeld, dWallet Labs
Abstract

We present a fully homomorphic encryption scheme which natively supports arithmetic and logical operations over large ``machine words'', namely plaintexts of the form $\mathbb{Z}_{2^n}$ (e.g.\ $n=64$). Our scheme builds on the well-known BGV framework, but deviates in the selection of number field and in the encoding of messages. This allows us to support large message spaces with only modest effect on the noise growth. Arithmetic operations (modulo $2^n$) are supported natively similarly to BGV-style FHE schemes, and we present an efficient bootstrapping procedure for our scheme. Our bootstrapping algorithm has the feature that along the way it decomposes our machine word into bits, so that during bootstrapping it is possible to perform logical operations (essentially addressing each bit in the message independently). This means that during a single bootstrapping cycle we can perform logical operations on $n$ bits. For example, a ``greater than'' operation (if $x> y$ output $1$, otherwise $0$), only requires a single subtraction and a single bootstrapping cycle. Along the way we present a number of new tools and techniques, such as a generalization of the BGV modulus switching technique to a setting where the plaintext and ciphertext moduli are ideals (and not numbers).

Note: Editorial fixes.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
Keywords
FHEProgrammable Bootstrapping
Contact author(s)
zvika @ mail bz-sci com
offir @ dwalletlabs com
dolev @ dwalletlabs com
ohad @ dwalletlabs com
History
2026-02-22: last of 3 revisions
2025-08-10: received
See all versions
Short URL
https://ia.cr/2025/1449
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1449,
      author = {Zvika Brakerski and Offir Friedman and Daniel Golan and Alon Gurny and Dolev Mutzari and Ohad Sheinfeld},
      title = {{REFHE}: Fully Homomorphic {ALU}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1449},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1449}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.