Encrypt a file with post-quantum cryptography in five minutes.
Everything runs on your own computer. Your files and keys never reach our servers, and you do not need an account.
Status: research preview. ECRE has not yet been independently audited. Try it on test files, not on real secrets.
You need Docker and a terminal.
Install Docker Desktop on macOS or Windows, or Docker Engine on Linux. On Windows, run the commands in a WSL (Ubuntu) terminal. The image works on Intel and Apple silicon.
Local only
The image makes no network calls. You can run it with networking switched off by adding --network none.
Same tool as production
This is the real ecre-pq command-line tool and file format, not a simulation.
Checked on every release
Our build runs exactly these steps, including a tampering test, before an image is published.
Six commands, start to finish.
Copy each block into your terminal. Steps 3, 5 and 6 ask for the password you choose in step 3 (at least 12 characters).
-
Make a test folder and a file to protect
Any file works. Nothing in this folder leaves your computer.
mkdir ecre-try && cd ecre-try echo "Quarterly figures: confidential" > secret.txt -
Make the ecre command available
This short alias runs ECRE from our public image against the current folder. The first run downloads the image.
alias ecre='docker run --rm -it -v "$PWD:/work" --user "$(id -u):$(id -g)" ghcr.io/w8nwzbf9h5-svg/ecre-pq' -
Create your identity
ECRE generates your post-quantum keys and seals them in a vault protected by your password (Argon2id). It prints your fingerprint.
ecre keygen --out alice.identity -
Pin the recipient
You only encrypt to people whose fingerprint you have checked out of band, for example by phone. Here you encrypt to yourself, so paste your own fingerprint.
ecre fingerprint alice.public.json ecre peer add alice alice.public.json --fingerprint "PASTE-THE-FINGERPRINT" -
Encrypt
The file is encrypted with hybrid X25519 + ML-KEM-768 and AES-256-GCM, and signed with both ML-DSA-65 and SLH-DSA.
ecre encrypt secret.txt -o secret.txt.ecre --identity alice.identity --to alice -
Decrypt and compare
Decryption checks both signatures first. If a single byte of the file was changed, ECRE refuses and writes nothing.
ecre decrypt secret.txt.ecre -o secret.out.txt --identity alice.identity --from alice cmp secret.txt secret.out.txt && echo identical
Try breaking it. Change one byte of secret.txt.ecre with any editor and run step 6 again: ECRE reports that the signature does not verify.
Send a file to a colleague.
Each of you runs step 3, then you swap the .public.json files and read your fingerprints to each other over the phone. Add each other with step 4 and encrypt with --to and the colleague's name. Only their identity can open the file.
Want a guided demo for your organisation?
We walk your security team through file protection, key custody with an HSM, and wallet recovery on the live ledger.