Skip to content
BEAD

AES Encrypt / Decrypt

Encrypt or decrypt text with AES-GCM, deriving a key from a passphrase via PBKDF2 — all in your browser.

🔒 Encryption happens with SubtleCrypto in your browser. Passphrases never leave the device.

How it works

The passphrase is stretched with PBKDF2-SHA-256 (600,000 iterations) over a random 16-byte salt to derive a 256-bit AES key. Plaintext is encrypted with AES-GCM using a fresh 12-byte IV. Output is salt (16) ‖ iv (12) ‖ ciphertext+tag, Base64-encoded.

All of that happens in the browser via SubtleCrypto. The passphrase and plaintext never touch BEAD's servers.

Heads-up: a strong passphrase still matters. If you can guess it, an attacker can too. Use a generator — the password generator works well for this.

You might also like