BFV (Brakerski-Fan-Vercauteren) Scheme

The BFV scheme is similar to the BGV scheme but is based on the Learning with Errors (LWE) problem. It was proposed by Fan and Vercauteren as an improvement to the BGV scheme.

Key Components

  1. Secret Key Generation: The secret key is chosen from the polynomial ring .
  2. Public Key Generation: The public key is composed of .
  3. Encryption: To encrypt a message , a random polynomial is selected, and the ciphertext is generated.
  4. Decryption: To decrypt the ciphertext , compute . Here, is the scaling factor.

Homomorphic Operations

The BFV scheme also supports homomorphism for addition and multiplication.

  • Homomorphic Addition:
  • Homomorphic Multiplication: