BFV Encryption Demo

A zero-dependency implementation of homomorphic addition.

Controls

1. Setup Phase

Generate Public Key (pk) and Secret Key (sk). Parameters: n=8, q=12289, t=256.

2. Encryption Phase

Enter two integers (0-255) to encrypt.

3. Computation Phase (Cloud)

Perform addition on the encrypted ciphertexts without knowing the raw data.

4. Decryption Phase

Use the secret key to decrypt the result.

Operation Log

Waiting for action...