Playground / runs in your browser

Explore SQL against a sealed database.

A real Citadel database compiled to WebAssembly. Your SQL runs locally against an encrypted in-memory engine - no server, nothing leaves your machine.

4tables
34rows
0.0mslast query
playground.db
AES-256-CTRHMAC-SHA256page 8,208 Bloading...
WASM / @citadeldb/wasm
RuntimeWASM / in-browser
On-disk100% ciphertext
Isolationsnapshot (CoW B+tree)
Session00:00:00
Buildv1.7.0
01 / this is the real engine

Not a simulation.

Citadel is compiled to WebAssembly and runs entirely in your tab via @citadeldb/wasm. Your SQL executes against a real encrypted in-memory database; nothing is sent anywhere.

02 / every page is 8,208 B

16 IV + 8,160 ct + 32 MAC.

A 16-byte random IV, 8,160 bytes of AES-256-CTR ciphertext, and a 32-byte HMAC-SHA256 tag, verified before decryption. The same format on disk, in memory, and in the browser.

03 / the benchmark numbers

Reproduce with one command.

cargo bench -p citadeldb-sql --bench h2h_bench runs the 50 head-to-head benchmarks against unencrypted SQLite at equal cache budgets.