0Pricing
Cryptology Academy · Lesson

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

  1. What Is Homomorphic Encryption?
  2. Learning With Errors (LWE) Foundation
  3. BGV & BFV Schemes for Integer Operations
  4. CKKS for Approximate Arithmetic & ML
← Back to Cryptology Academy