The Lab · Cryptography

Vault lab

A password manager or an encrypted volume makes one promise: without the passphrase, the bytes say nothing, and nobody can change them without it showing. Six exhibits build that promise from its parts with the browser's own cryptography: stretch a passphrase into a key, seal with authenticated encryption, never reuse a nonce, split a key between people, give a vault two doors, and prove that nothing changed.

Everything runs in this tab through Web Crypto (PBKDF2, HMAC, SHA-256, AES-GCM and AES-CTR); nothing you type is stored or sent, and only your progress is saved. Every key, passphrase and file on the page is a throw-away demo value made here. Where a lesson needs fixed numbers it uses a seeded generator, and it says when a value is random per visit. Attacker speeds are illustrative, never a benchmark.