A BROWSER-ONLY FHE DEMO
Compute on data
you can’t see.
Explore exact BFV integer arithmetic and approximate CKKS vector arithmetic. Add, multiply, or rotate encrypted values, then decrypt in your browser.
TRY A COMPUTATION
Encrypted computing lab
Show BFV key generation steps
- Create BFV parameters and a fresh encryption context.
- Generate a secret key and matching public key.
- Generate relinearization keys only for multiplication.
- Encrypt the inputs, evaluate the ciphertexts, then decrypt locally.
WHAT THIS SHOWS
Encrypted values.
Different kinds of math.
BFV gives exact integer addition and multiplication. CKKS works with approximate real vectors, supporting slot-wise addition, multiplication, and rotations. CKKS multiplication needs relinearization and rescaling; rotations use Galois keys. The demo generates only the rotation key needed for the selected shift.
This is a learning demo, not a secure service for real data. It runs the entire operation in your browser; it does not send inputs or keys to a cloud evaluator. CKKS results are approximate, and the sample parameters are for demonstration only.
SEAL CKKS example ↗SEAL vector rotation example ↗