CKKS Examples
Parameters, what each example does, and a browser-based runner (server-side execution).
Parameters used by the playground
- Depth — multiplicative depth (relevant for multiplications).
- Scale — scaling modulus size in bits (precision/noise trade-off).
- Batch — batch size (slot count used for packing).
- Benchmark N — number of operations for timing benchmarks.
- Didactic A/B — numbers used in the didactic “A + B” example.
Implemented examples (current)
Didactic (A + B)
Encrypt two real numbers, compute homomorphic sum, decrypt and decode (~A+B).
Basic ops
Encrypt → EvalAdd/EvalSub/EvalMult/EvalRotate → Decrypt. Demonstrates CKKS workflow.
API-ready serialization
Demonstrates client/server transport using OpenFHE serialization (server without secret key).
Benchmarks (Add/Mult)
Measures average per-op time (and optionally pipeline: keygen/encode/encrypt/eval/decrypt/decode).
Note: The playground runs on your Server B (OpenFHE). This website only forwards requests via PHP.