BGV & BFV Schemes for Integer Operations
Perform encrypted integer addition and multiplication using BGV.
BGV Overview
BGV (Brakerski-Gentry-Vaikuntanathan, 2012) is a leveled FHE scheme based on RLWE. It supports arbitrary additions and multiplications on packed integer plaintexts. "Leveled" means it handles circuits up to a fixed depth L without bootstrapping.
Plaintext Space
BGV and BFV encode plaintexts as polynomials in Z_t[x]/(x^n+1) where t is a small plaintext modulus (e.g., t=65537). Each polynomial encodes n integer values (one per coefficient). Arithmetic on ciphertexts operates on all n values simultaneously — SIMD parallelism.
All lessons in this course
- What Is Homomorphic Encryption?
- Learning With Errors (LWE) Foundation
- BGV & BFV Schemes for Integer Operations
- CKKS for Approximate Arithmetic & ML