BFV, BGV, CKKS Schema for Fully Homomorphic Encryption
Overview
Implements the Brakerski-Fan-Vercauteren (BFV, 2012) https://eprint.iacr.org/2012/144, Brakerski-Gentry-Vaikuntanathan (BGV, 2014) doi:10.1145/2633600, and Cheon-Kim-Kim-Song (CKKS, 2016) https://eprint.iacr.org/2016/421.pdf schema for Fully Homomorphic Encryption. The included vignettes demonstrate the encryption procedures.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 24 (1 internal)
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 21%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- BFV HTML
- BFV 2 HTML
- BFV in base R HTML
- BFV relinearization HTML
- BFV-addition HTML
- BFV-multiply HTML
- BGV HTML
- BGV 2 HTML
- BGV addition 2 HTML
- BGV ModSwitch HTML
Show 7 moreHide 7 vignettes
- BGV-addition HTML
- BGV-multiply HTML
- CKKS HTML
- CKKS encode HTML
- CKKS encode 3 HTML
- CKKS encode encrypt HTML
- CKKS encode encrypt 2 HTML
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.9.0Latest2024-01-09 · current release · diff ↗ ·
added 11 exports
compute_basis_coordinates, coordinate_wise_random_rounding, decode, encode, pi_function, pi_inverse, round_coordinates, sigma_R_discretization, sigma_function, sigma_inverse, vandermonde - 0.3.0
- 0.2.0
- RR 4.3.0 released · 2023-04-21
- 0.1.02022-10-21
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-21
- Total releases
- 4 / 4 yrs
- License
- GPL (>= 3) OSI
- Download size
- 46 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("HomomorphicEncryption")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.