A strongbox from the locksmith's shop — put a real lock on a file before you email it or park it in someone's cloud, and open the locked files people send you. Works both ways, in four honest formats.
🔒 Files and passphrases never leave your browser. Nothing is uploaded.
Most "encrypt a file online" pages either upload your file to a server (read that again) or invent their own format that only that page can ever open. Lock Box does neither: everything runs in your browser, and every format it writes has a real ecosystem on the other side —
| Format | Cipher | The other side opens it with |
|---|---|---|
| ZIP — AES-256 | AES-256-CTR + HMAC-SHA1, PBKDF2 | 7-Zip, WinRAR, Keka, most unzip apps |
| age | ChaCha20-Poly1305, scrypt | age -d file.age (free, all platforms) |
| OpenSSL | AES-256-CBC, PBKDF2 | openssl enc -d -aes-256-cbc -pbkdf2 -in file.enc -out file |
| ZIP — legacy | ZipCrypto (weak!) | Everything, including Windows Explorer |
And it works both ways: drop in a password-protected ZIP someone sent you, an
.age file (binary or armored), or an OpenSSL Salted__ file
(modern PBKDF2 or the old MD5 key derivation) and Lock Box detects the format and
opens it. Multiple files chosen with age or OpenSSL are bundled into a ZIP first,
since those formats seal exactly one file.
The AES-CTR, ChaCha20, Poly1305, scrypt, and MD5 cores are hand-written below —
view-source and you're reading them — with the standard test vectors from the RFCs
runnable in your own browser console (lockboxSelfTest()). AES-CBC,
PBKDF2, HKDF, HMAC, and the SHA family come from your browser's own WebCrypto.
Passphrases are never stored; there is no telemetry; the page works with the
internet off.
Part of K-Engine Local Tools — free, privacy-respecting utilities that run on your device. MIT licensed, from the K-Engine workshop · download the source.