Playground / v2.5.0 / runs in your browser
Explore SQL against a sealed database.
Citadel compiled to WebAssembly. SQL and database contents stay in your browser, in an encrypted in-memory database. Reloading the page discards the data.
4tables
34rows
0.0mslast query
playground.db
WASM / @citadeldb/wasm
RuntimeWASM / in-browser
Page payloadsAES-256-CTR
Isolationsnapshot (CoW B+tree)
Session00:00:00
01 / this is the real engine
Not a simulation.
Citadel runs in your tab via @citadeldb/wasm. Queries execute against the encrypted in-memory database without sending SQL or database contents to a server.
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 --locked -p citadeldb-sql --bench h2h_bench runs the 59 head-to-head benchmarks against unencrypted SQLite, with both caches configured for 4,096 pages (about 32 MiB).
