Skip to content
LATENS

§03Sandbox

Encrypt something. Then do arithmetic on it without opening it.

Everything below runs locally in this tab. The key is generated here, the ciphertext never leaves, and no request is made to any server.

Client keyring

never transmitted

Plaintext input

stays on this device

Homomorphic circuit

runs on ciphertext

operand

Preset circuits

scripted sequences

Evaluator view

no ciphertext

Encrypt a value to populate the ciphertext buffer.

Noise budget

-

Operation log

idle

No operations yet. Encrypt something, or run a preset circuit.

Decrypted result

visible only to the key holder

Nothing to reveal.

Simulation only. The transform used here is a deterministic byte scramble, not TFHE - it reproduces the operational shape of the scheme (expansion, noise, bootstrapping, latency) so the trade-offs are legible. It provides no security whatsoever.

01

Ciphertext expansion is real

A 64-bit integer becomes ~3.1 KB under TFHE with the parameters we run on devnet. The buffer you see is the right size and the right shape.

02

The noise budget is the whole game

Every operation adds noise. Multiplication adds a lot. Once the budget is gone the plaintext is unrecoverable - bootstrapping resets it, at a price.

03

Latency is modelled, not measured here

Timings come from the devnet harness. The arithmetic itself runs in plain JavaScript: this page is a teaching aid, not a cryptographic implementation.