Paper 2025/1104

Better GBFV Bootstrapping and Faster Encrypted Edit Distance Computation

Robin Geelen, KU Leuven
Frederik Vercauteren, KU Leuven
Abstract

We propose a new iterative method to convert a ciphertext from the Generalized BFV (GBFV) to the regular BFV scheme. In particular, our conversion starts from an encrypted plaintext that lives in a large cyclotomic ring modulo a small-norm polynomial $t(x)$, and gradually changes the encoding to a smaller cyclotomic ring modulo a much larger integer $p$. Previously, only a trivial conversion method was known, which did not change the underlying cyclotomic ring. Using our improved conversion algorithm, we can bootstrap the GBFV scheme almost natively, in the sense that only a very small fraction of the operations is computed inside regular BFV. Specifically, we evaluate (an adapted version of) the slot-to-coefficient transformation entirely in the GBFV scheme, whereas the previous best method used the BFV scheme for that transformation. This insight allows us to bootstrap either with less noise growth, or much faster than the state-of-the-art. We implement our new bootstrapping in Microsoft SEAL. Our experiments show that, for the same remaining noise budget, our bootstrapping runs in only 800 ms when working with ciphertexts containing 1024 slots over $\mathbb{F}_p$ with $p = 2^{16}+1$. This is $1.6\times$ faster than the state-of-the-art. Finally, we use our improved GBFV bootstrapping in an application that computes an encrypted edit distance. Compared to the recent TFHE-based Leuvenshtein algorithm, our GBFV version is almost two orders of magnitude faster in the amortized sense.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
A minor revision of an IACR publication in CIC 2026
DOI
10.62056/a3n56chdj
Keywords
Fully homomorphic encryptionGBFVBootstrappingEdit distance
Contact author(s)
robin geelen @ esat kuleuven be
frederik vercauteren @ esat kuleuven be
History
2026-01-29: last of 2 revisions
2025-06-12: received
See all versions
Short URL
https://ia.cr/2025/1104
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/1104,
      author = {Robin Geelen and Frederik Vercauteren},
      title = {Better {GBFV} Bootstrapping and Faster Encrypted Edit Distance Computation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1104},
      year = {2025},
      doi = {10.62056/a3n56chdj},
      url = {https://eprint.iacr.org/2025/1104}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.