ZeeCrypt is a very small, very simple, yet very secure encryption tool that you can use to protect your files. It's a Windows-only fork of Picocrypt, designed to be the go-to tool for file encryption, with a focus on security, simplicity, and reliability. ZeeCrypt uses the secure XChaCha20 cipher and the Argon2id key derivation function to provide a high level of security.
🚀 This repo is actively maintained. Unlike the original (now-archived) Picocrypt, ZeeCrypt is under active development — bug reports, feature requests, and suggestions are welcome, so feel free to open an issue. See CONTRIBUTING.md if you'd like to contribute code, and SECURITY.md to report a vulnerability.
Important
Today's most common way of sharing encrypted files, locking them with a public key, could one day be broken by a powerful quantum computer. Worse, someone could copy your encrypted files now and unlock them years from now. ZeeCrypt is built to resist that:
- Passwords and keyfiles already stand up to quantum computers, as long as the password is long and random.
- Public keys are locked with two or three different kinds of lock at once (today's kind plus newer quantum-resistant ones). An attacker would have to break all of them.
- Optional shared secret: you and a contact can swap a secret in person. Files stay private even if every public-key lock were broken.
- Signatures ("this file came from me") also use a quantum-resistant method alongside the usual one.
Why now: ZeeCrypt 4.0 was prompted by Anthropic's announcement (around 1 December 2026) that one of its unreleased Claude models found a new quantum algorithm against structured lattices, the maths underneath the ML-KEM and ML-DSA standards. It needs a quantum computer that doesn't exist, and is far too inefficient to be a practical threat today. Anthropic and independent experts say current encryption remains safe, but it lowers long-term confidence in structured lattices. So ZeeCrypt stops relying on any single kind of lock: public-key volumes can also mix in a different kind of lattice (FrodoKEM), plus a shared secret that no public-key maths can break.
A completely redesigned window, built so anyone can use it without knowing the jargon.
- Two columns, numbered steps. On the left: your file, a password, and optional extra locks. On the right: how strong the lock is, and exactly what protects the file. The save location and the big Lock button sit along the bottom. Nothing is cut off and there are no hidden tooltips: every option has a plain-language description under its name.
- Strength levels instead of "Paranoid mode". Standard is safe for everyday files. Extra strong stacks two ciphers and uses a slower password check. Maximum (Future-proof) includes everything in Extra strong and also requires that anyone you lock the file for uses the newest quantum-resistant methods. Each card has a strength meter and says in one or two sentences what it does.
- "What protects this file" box. The window shows, before you press Lock, the cipher, the password check, the tamper check, what will be needed to open the file, and the public-key methods and signature in use. It updates as you change options, and warns when the password is weak.
- The security key is one switch. "Also need my USB security key" opens a short card: plug in your key, type its PIN, touch it. It checks that this computer can use security keys, and warns that losing the key means losing the file.
- "Make one for me". One click makes a strong password, shows it, and copies it (the clipboard is cleared after 30 seconds). A strength bar and a "passwords match" check sit under the boxes.
- "Choose a file..." and "Choose a folder..." buttons next to drag and drop.
- The unlock screen tells you what you need. Dropping a locked file shows what it needs (password, security key, Sharing ID file, keyfiles), how it was protected, and any note the sender left.
- Sharing IDs. "Public keys" are now called Sharing IDs, and a new Sharing ID is created already upgraded (ML-KEM-1024, FrodoKEM-640 and SLH-DSA keys alongside the older ones). The "Lock for other people" window has the same card layout as the main window, and a "What is a Sharing ID?" button (in the main window and in that window) explains in plain words, with a padlock and key picture and step-by-step examples, what a Sharing ID is, how to send a file to someone, how to receive one, and why to back the file up.
- File pickers open in front. "Choose a file...", "Change...", "Make one..." and every other Windows file or folder picker is brought to the front when it opens instead of sometimes appearing behind the window.
- Crisp text that follows Windows display scaling. The window uses Segoe UI at its natural size and grows to fit its content; the empty window is small, and it widens to two columns once there is something to lock or open.
- Nothing changes about your files. The file format is the one ZeeCrypt already used: files you locked with earlier versions still open in 4.0 (see Compatibility).
Technical details for everything above are in Technical details.
- Sharing IDs and public keys: lock files for people instead of sharing a password. Keys combine X25519 with ML-KEM; an upgraded Sharing ID adds ML-KEM-1024 and FrodoKEM-640, so an attacker would have to break three unrelated assumptions.
- Shared secrets: a per-person secret you hand over in person keeps files private even if every public-key algorithm fails.
- Signatures: Ed25519 together with SLH-DSA (hash-based, not lattice-based); both must verify.
- Security keys: require a YubiKey or other FIDO2 key as well as the password.
- Re-wrap: give an existing locked file new people without locking it again.
- A stronger format: every chunk of data is verified before it is decrypted, and notes cannot be changed without detection.
- zstd compression, Explorer "Encrypt with" / "Decrypt with" entries, and signed updates.
ℹ️ You are highly recommended to read through the Features section below to fully understand the features and limitations of ZeeCrypt before using it. ℹ️
Make sure to only download ZeeCrypt from this repository. When sharing ZeeCrypt with others, be sure to link to this repository to prevent any confusion.
To download the latest, standalone, and portable executable for Windows, click here.
If you use ZeeCrypt frequently, you can also download the installer for Start Menu and Desktop shortcuts, automatic .zee file association (double-click a locked file to open it; older .pcv files open too), and right-click "Open with ZeeCrypt", "Encrypt with ZeeCrypt" and "Decrypt with ZeeCrypt" entries in Explorer (on Windows 11, under "Show more options"). This installs to Program Files, so it requires administrator privileges (a UAC prompt) during installation.
If your antivirus flags ZeeCrypt as a virus, please report it as a false positive to help everyone.
ZeeCrypt targets Windows 11 only; it is not built or tested for macOS or Linux.
- Files you locked with earlier versions still open in ZeeCrypt 4.0. The one exception: files from ZeeCrypt 1.50 and 1.51 that used keyfiles can't be opened (a security fix changed how their header is authenticated). Open them with the version that made them, then lock them again with 4.0.
- Older versions can't open everything 4.0 makes. Files that use the newest public-key features (upgraded Sharing IDs, shared secrets, hybrid signatures) say "needs a newer ZeeCrypt" in an older version, and so does the identity file of an upgraded Sharing ID. If you share files with someone, make sure they use ZeeCrypt 4.0 too.
- Coming from Picocrypt: ZeeCrypt can't open volumes made by Picocrypt or by ZeeCrypt versions before 1.50. Decrypt them with the tool that created them, then re-encrypt with ZeeCrypt.
- See the Changelog for what changed.
Here's how ZeeCrypt compares to other popular encryption tools.
| ZeeCrypt | VeraCrypt | 7-Zip GUI | BitLocker | Cryptomator | |
|---|---|---|---|---|---|
| Free | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Bundled | ✅ Yes |
| Open Source | ✅ GPLv3 | ✅ Multi | ✅ LGPL | ❌ No | ✅ GPLv3 |
| Cross-Platform | ❌ Windows only | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
| Size | ✅ 4.5 MiB | ❌ 20 MiB | ✅ 2 MiB | ✅ N/A | ❌ 50 MiB |
| Portable | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | ❌ No |
| Permissions | ✅ None | ❌ Admin | ❌ Admin | ❌ Admin | ❌ Admin |
| Ease-Of-Use | ✅ Easy | ❌ Hard | ✅ Easy | ✅ Easy | 🟧 Medium |
| Cipher | ✅ XChaCha20 | ✅ AES-256 | ✅ AES-256 | 🟧 AES-128 | ✅ AES-256 |
| Key Derivation | ✅ Argon2 | 🟧 PBKDF2 | ❌ SHA-256 | ❓ Unknown | ✅ Scrypt |
| Data Integrity | ✅ Always | ❌ No | ❌ No | ❓ Unknown | ✅ Always |
| Deniability | ✅ Supported | ✅ Supported | ❌ No | ❌ No | ❌ No |
| Reed-Solomon | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
| Compression | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | ❌ No |
| Public Keys | ✅ Post-quantum | ❌ No | ❌ No | ❌ No | ❌ No |
| Hardware Keys | ✅ FIDO2 | 🟧 Tokens | ❌ No | ✅ TPM | ❌ No |
| Signatures | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
| Telemetry | ✅ None | ✅ None | ✅ None | ❓ Unknown | ✅ None |
Keep in mind that while ZeeCrypt does most things better than other tools, it's not a one-size-fits-all and doesn't try to be. There are use cases such as full-disk encryption where VeraCrypt and BitLocker would be a better (and the only) choice. So while ZeeCrypt is a great choice for the majority of people doing file encryption on Windows, you should still do your own research and use what's best for you.
ZeeCrypt is a very simple tool and most people understand it in a few seconds. Drop in your files (or press "Choose a file..."), pick a password (or press "Make one for me"), and press Lock my file. To open a locked file, drop it back in, enter the password, and press Open my file. That is all that is needed.
For people who want more, every extra is a plain switch or button with a description under it. The window is arranged in numbered steps, and the old names are given in brackets so that people coming from earlier versions can find things.
- Your file: Drag in files or folders, or use "Choose a file..." and "Choose a folder...". Several files, or a folder, are packed into one locked file. "Remove" clears the selection.
- Choose a password (password generator): Type a password and then again to be sure; a strength bar and a "passwords match" line help you get it right. "Make one for me" creates a strong 20-character password in one click, shows it and copies it to the clipboard (cleared after 30 seconds, and kept out of Windows clipboard history). "Options..." opens the full generator, where you choose the length (12 to 64) and which kinds of characters to use. When you lock a file for other people, the password is optional.
- Add extra locks (optional): Three things can be added on top of the password, and they can be combined.
- Also need my USB security key (security keys): One switch. A FIDO2 key (YubiKey, SoloKey, Google Titan, ...) is then needed as well as the password. A short card shows the three steps (plug it in, type its PIN, touch it) and checks that this computer can use security keys. Windows shows its own prompts when you press Lock and again each time the file is opened. It needs Windows 11 22H2 or later and a key with a PIN. "Add a backup security key (recommended)" is on by default: you set up your main key, then a second one, and either key together with the password opens the file. The "Lock for other people" window can also add a backup key to a file that was locked with only one (under "More"). If you turn the backup off and lose the key, the file can never be opened. Use a hardware FIDO2 key: Windows may offer to use a phone as a passkey, and a phone passkey that syncs to the cloud is not a physical key, so do not choose it.
- Lock it for other people (public keys): Instead of sharing a password, lock the file for the people who should open it. "Choose people..." opens a window where you create or open your own Sharing ID (a file protected by a password: back it up), copy or save your public key to give to others, and add other people from their key. Tick who may open the file; they do not need your password. A new Sharing ID is created upgraded (see below). Locking for other people cannot be combined with "Hide that this is a ZeeCrypt file". The same window also holds shared secrets (below), "Re-wrap a volume" (gives an existing locked file new people without re-encrypting it; it does not protect copies someone already holds), and "Sign as you".
- Use a keyfile (keyfiles): Any file can work as an extra password (or the only one). "Make one..." creates a strong keyfile. You can use several, and require them in the right order. A good use is a shared file that needs everybody's keyfile to open. Use the generator whenever you can.
- How strong should the lock be? (Paranoid mode): Three cards, each with a strength meter. Standard locks with XChaCha20 and a 4-pass password check, which is safe against every known attack with a good password. Extra strong (this is what was called Paranoid mode) stacks XChaCha20 and Serpent, uses an 8-pass password check and HMAC-SHA3 for the tamper check, so both ciphers would have to be broken. Maximum (Future-proof) includes everything in Extra strong and, when you lock for other people, requires everyone to use the newest methods (ML-KEM-1024 and FrodoKEM-640 together with X25519) and, if you sign, a signature that uses both Ed25519 and SLH-DSA. If someone's Sharing ID is older, ZeeCrypt says so and does not lock the file, rather than quietly using weaker methods. With only a password, Maximum protects the file exactly like Extra strong.
- What protects this file: A live summary under the strength cards: level, cipher, password check, what will be needed to open the file, the tamper check, the public-key methods (and the signature) when locking for others, and whether repair data or hiding is on. It also warns when the password is weak. When you open a locked file, the matching box ("How it was protected") shows its level, cipher and format, and whether it is signed.
- More options: Opens a panel of switches, each with a description.
- Repair damage later (Reed-Solomon): Very useful for archiving on a cloud provider or external drive for a long time. ZeeCrypt adds 8 extra bytes for every 128 bytes of data, so up to about 3% of the file can be damaged and still be repaired when opened. If the file is damaged very badly (a dropped hard drive, say), ZeeCrypt recovers what it can. It slows locking and opening down significantly.
- Delete the original after locking (Delete files): Removes the original files once the locked copy is made. It does not shred them: on modern storage there is no such thing (see the FAQ).
- Make the locked file smaller (Compression): By default several files are merged into a zip with no compression, which is fastest and opens anywhere. Choose Fast, Balanced or Maximum compression (this works for a single file too) to make a
.tar.zstarchive (zstd, several times faster than zip's Deflate at a better ratio) that Windows 11 Explorer and 7-Zip can open. Compressing before locking can reveal a little about the contents through the output size; that only matters if an attacker can influence the data and watch many re-encryptions of it, which is not how ZeeCrypt is normally used. - Cut it into smaller pieces (Split into chunks): Choose a piece size and a unit (KiB, MiB, GiB, TiB, or total pieces). To open them, drag one piece in and the rest are recombined automatically.
- Lock each file separately (Recursively): For several files or folders: every file is locked on its own, so you can open any one without the rest. Files whose locked copy already exists are skipped rather than overwritten, and a summary shows how many were skipped or failed. This is a complex feature for people who know they need it.
- Hide that this is a ZeeCrypt file (Deniability): Normally a ZeeCrypt file has a recognisable header. With this on, the output looks like random bytes and no one can prove it is a ZeeCrypt file without the password. It is slower, needs you to rename the file afterwards, needs a password (keyfiles alone are not enough), cannot be used when locking for other people, and renders notes useless. If you have never heard of plausible deniability, this feature is not for you.
- Add a note (Comments): Text stored with the file for anyone to read, not encrypted (it simply cannot be, by design). Use it to describe the file for the person you send it to, or to remind yourself what a backup holds without opening it. The note is authenticated: changing it makes opening fail (though the changed text is shown until you try). Use it only for non-sensitive information.
- Save as: Shows the name of the locked (or opened) file next to "Change...", where you choose a different name or folder.
- Sharing IDs, signing and shared secrets: With your Sharing ID open, "Sign as you" proves to the people you lock for that the file came from you and was not changed. When they open it, ZeeCrypt shows "signed by" and the contact's name, or the fingerprint of an unknown signer; compare a fingerprint over another channel before trusting it. Only people who can open the file can see who signed it. An upgraded Sharing ID signs with Ed25519 and SLH-DSA together: the file counts as signed only if both verify, a name is never shown when one fails, and signatures from older versions are labelled "legacy signature". A legacy (Ed25519-only) signature is never shown under the name of a contact whose key is upgraded, because that person signs with both: it is reported as "can't be confirmed as from" them instead, so someone who broke Ed25519 alone cannot pass as them. "Upgrade my Sharing ID" adds ML-KEM-1024, FrodoKEM-640 and SLH-DSA keys to an older Sharing ID (the old keys keep working); upgraded public keys are about 20 KB, so they are shared with "Save .pub" and added with "Add from a key file". For a contact you can also generate a shared secret, hand it over in person or on a USB stick (never with the locked files), and it is mixed into every file between you automatically. Losing it makes those files unreadable, and a backup of your Sharing ID file includes it.
- Explorer integration: If you installed ZeeCrypt with the MSI installer, right-clicking shows "Open with ZeeCrypt" (detects whether to lock or open), "Encrypt with ZeeCrypt" on files and folders, and "Decrypt with ZeeCrypt" on locked files. On Windows 11 they are under "Show more options". ZeeCrypt runs as a single window: selecting several items opens them together, and anything opened while ZeeCrypt is already running goes to the existing window (unless it is busy). From the command line,
ZeeCrypt.exe --encrypt -- <paths>and--decryptdo the same. - Update checker: Click the version number at the bottom-right of the window to check for a new release. Nothing happens automatically: checking only happens when you click, and if an update is found you see the release notes with an "Update now" button rather than anything downloading or installing on its own. The downloaded update is verified against its published checksum and an Ed25519 signature made with the project's release key (built into the app) and, from the first release that embeds the project's SLH-DSA key (not yet), an SLH-DSA signature too (both must verify), before it replaces the running executable. A signature also covers the version number, so an old release cannot be passed off as a new one. Copies installed with the MSI (in Program Files) are not replaced in place; update them by running the new installer.
For more information on how ZeeCrypt handles cryptography, see Internals for the technical details. ZeeCrypt is a fork of Picocrypt, which was independently audited before this fork's changes were made; ZeeCrypt itself has not yet been separately audited, so treat its Windows-only changes accordingly.
ZeeCrypt operates under the assumption that the host machine it is running on is safe and trusted. If that is not the case, no piece of software will be secure, and you will have much bigger problems to worry about. As such, ZeeCrypt is designed for the offline security of volumes and does not attempt to protect against side-channel analysis.
PCC-004 (decrypt-then-verify), the last open finding from the original Picocrypt audit, is fixed: each chunk of data is authenticated before it's decrypted. Files made by very old versions still use the old check, which happens after decryption but before the output is saved; see Internals.
ZeeCrypt makes no network requests on its own. The only exception is the update checker (bottom-right of the window), which only runs when you click it — it queries the GitHub Releases API and, if you choose to install an update, verifies its SHA-256 checksum and the release signature before replacing the running executable. Nothing is ever downloaded or applied without you explicitly clicking to do so.
Does the "Delete files" feature shred files?
No, it doesn't shred any files and just deletes them as your file manager would. On modern storage mediums like SSDs, there is no such thing as shredding a file since wear leveling makes it impossible to overwrite a particular sector. Thus, to prevent giving users a false sense of security, ZeeCrypt doesn't include any shredding features at all.
Is ZeeCrypt quantum-secure?
Mostly, with the caveats below. For a plain-language summary, see the box at the top of this page.
Anthropic's lattice announcement. Around 1 December 2026 Anthropic published research in which an unreleased Claude model found a new quantum algorithm against structured lattices, the maths behind ML-KEM (key exchange) and ML-DSA (signatures). As reported, it needs a quantum computer far beyond anything that exists, is much slower than known attacks at real-world sizes, and Anthropic says it has no practical effect today; it does, however, lower long-term confidence in structured lattices. What that means here:
-
ML-KEM is affected in principle; ML-DSA isn't used. ZeeCrypt's original public-key suite (X25519 + ML-KEM-768) has only one quantum-resistant part, and it is the structured-lattice one. If that part fell to a quantum attacker, X25519 would fall too, and nothing would be left.
-
Upgraded keys add a different kind of lock. FrodoKEM is built on unstructured lattices, which the same coverage says were not weakened. SLH-DSA signatures are hash-based, not lattice-based. The coverage doesn't discuss FrodoKEM or SLH-DSA by name, so this is our reading, not Anthropic's statement.
-
A shared secret or a password doesn't depend on any of this. For secrets that must stay private for decades, use a password, keyfile or per-contact shared secret in addition to (or instead of) public keys.
-
Copy now, decrypt later is the real risk. Anyone holding a copy of a volume made with the old suite could attack it if a practical quantum attack ever appears. Re-wrap helps only for copies nobody else has.
-
Password and keyfile volumes only use symmetric cryptography (XChaCha20, Serpent, Argon2, BLAKE2b, SHA-3), which is considered resistant to quantum computers at 256-bit strength. A quantum attacker still has to guess your password, so for secrets that must last decades, use a generated password (the generator's default is 32 characters) or a keyfile.
-
Public-key volumes depend on post-quantum key exchange against a quantum attacker. There are four suites, and the sender automatically uses the strongest one the recipient's key supports: X25519 + ML-KEM-768 (the original suite, for older Sharing IDs); the same with a pre-shared secret; X25519 + ML-KEM-1024 + FrodoKEM-640, so an attacker must break three unrelated assumptions (for upgraded keys); and that with a pre-shared secret. All secrets feed one hash-everything key derivation, so a volume stays safe as long as any one component holds.
-
A pre-shared secret (generated per contact, handed over in person or on a USB stick) keeps public-key volumes secret even if every public-key algorithm fails. For very long-lived secrets, use a password, a keyfile or a pre-shared secret.
-
Sender signatures use Ed25519 and, for upgraded identities, SLH-DSA (FIPS 205, hash-based) together; both must verify. A legacy Ed25519-only signature could be forged by a large quantum computer. That would fake a "signed by", not read or change your encrypted data. Updates are checked against Ed25519 and, once the SLH-DSA release key is embedded (not yet), SLH-DSA signatures.
-
Re-wrap moves a volume to newer suites without re-encrypting it, but can't protect copies of the old volume that someone already holds.
FrodoKEM-640 is security category 1. See Internals.md and docs/plans/pq-hardening-design.md.
This section explains, option by option, what the window does to your file and how the new interface is built. Internals.md is the authoritative byte-level specification (header layout, stanza bodies, key derivation); this page is the guide to it.
| In the window | Stored in the file | What the code does |
|---|---|---|
| Standard | flags[0] = 0 | XChaCha20 (256-bit); Argon2id 4 passes, 1 GiB, 4 threads; keyed BLAKE2b-256 tag on every chunk |
| Extra strong | flags[0] = 1 | XChaCha20 over Serpent-CTR (two independent keys from HKDF-SHA3); Argon2id 8 passes, 1 GiB, 8 threads; HMAC-SHA3-256 tag on every chunk |
| Maximum (Future-proof) | flags[0] = 1, plus stanza types 5 or 6 and flags[4] = 2 when they apply | Everything in Extra strong, plus a policy checked before any work starts: every person you lock for must have an upgraded Sharing ID, and a signature needs an upgraded identity. The level itself is not written to the file |
| Password | A password stanza (type 1) | Argon2id(password) combined with the keyfile key through HKDF-SHA3, wrapping a random 32-byte file key with ChaCha20-Poly1305 |
| Also need my USB security key | One FIDO2 stanza (type 3) per key: two with a backup key | The same wrapping, with the key's hmac-secret output mixed in; the password alone, or the key alone, opens nothing |
| Lock it for other people | One recipient stanza per person (types 2, 4, 5 or 6) | The file key is wrapped to each person's public key; the strongest suite their key supports is used automatically |
| Use a keyfile | flags[1], flags[2] (order) | A hash of the keyfile(s) is mixed into the password stanza's key derivation; no keyfile hash is stored in the file |
| Repair damage later | flags[3] = 1 | Every chunk is Reed-Solomon encoded (128 data bytes become 136); chunks are 1 MiB - 160 bytes of data instead of 1 MiB - 32 |
| Hide that this is a ZeeCrypt file | Nothing readable | The whole file is wrapped in an XChaCha20 layer keyed by Argon2id(password), so it looks like random bytes |
| Add a note | Comment bytes, Reed-Solomon encoded | Stored in the clear, but covered by the header MAC |
| Sign as you | flags[4] = 1 (Ed25519) or 2 (Ed25519 + SLH-DSA) | An encrypted signature block after the header; see below |
| Make the locked file smaller | None (the content is an archive) | A .tar.zst archive (zstd) is built first and is what gets encrypted |
| Cut it into smaller pieces | None | The finished file is split into name.zee.0, .1, ... |
- Password check. The password is stretched with Argon2id (4 passes, 1 GiB, 4 threads; 8 passes, 1 GiB, 8 threads for Extra strong and Maximum). The result, with the keyfile key if keyfiles are used, goes through HKDF-SHA3-256 to make the key that wraps the file key.
- Strength bar. The bar and its words come from the zxcvbn estimator (scores 0 to 4: "Very easy to guess", "Weak", "Okay", "Strong", "Very strong"). It runs only on your own computer. The summary box warns when the score is below 2.
- "Make one for me". Draws 20 characters uniformly from the 62 letters and digits with the operating system's random number generator (about 119 bits). It is shown, copied with
setSecretClipboard(excluded from Windows clipboard history and cloud sync, and cleared after 30 seconds) and used for both boxes. "Options..." uses the same generator with your length (12 to 64) and character classes, which may include symbols. - Keyfiles. Each keyfile is read in 1 MiB pieces and hashed with SHA3-256. When the order matters, all keyfiles go through one hash in order; otherwise each file is hashed separately and the results are combined so that the order does not matter. "Make one..." writes 32 random bytes from the operating system's random number generator.
- Chunks. Data is split into chunks of 1 MiB - 32 bytes of plaintext (1 MiB - 160 with repair data). For chunk i: ciphertext = XChaCha20(key, nonce = 0^16 | i)(Serpent-CTR(key, iv = i | 0^8)(plaintext)), with Serpent only in Extra strong and Maximum. The tag is MAC(i | last | ciphertext): keyed BLAKE2b-256 in Standard, HMAC-SHA3-256 in Extra strong and Maximum. Each tag is checked before the chunk is decrypted or written, so damaged or altered data never reaches the output. The last bit stops a file being cut short at a chunk boundary.
- Header MAC. HMAC-SHA3-256 over the version, comments, flags and every stanza (each length-prefixed), in every level. Stanzas cannot be added, removed or reordered without detection.
- Why two ciphers. In the stacked mode both XChaCha20 and Serpent would have to be broken for the data to be read, which is the point of "Extra strong". It is slower, and for most files unnecessary; Standard is not a weak mode.
- Maximum is a policy, not a different cipher. The data path is identical to Extra strong. What changes is what is allowed: with Maximum chosen,
onClickStartButtonrefuses to start if any chosen recipient's public key is not upgraded (it has no ML-KEM-1024 key), or if "Sign as you" is on and your own identity is not upgraded, and says which. This is deliberate, so a file is never quietly locked with a weaker public-key method than the card promised. With a password only, there are no public-key parts, so the card says Maximum then protects the file exactly like Extra strong. - Government (CNSA 2.0) uses a different set of algorithms, and is not a certification. It is a fourth card, experimental and not independently reviewed. It locks with AES-256, SHA-384, ML-KEM-1024 and ML-DSA-87 only, the algorithms the US NSA's CNSA 2.0 suite lists (checked against the published framework from memory, not the NSA's current documents). It does not make ZeeCrypt a validated cryptographic module (FIPS 140-3), and ZeeCrypt does not claim to be "approved" or "compliant" with anything. Things to know: passwords use PBKDF2-HMAC-SHA-512 (3,000,000 rounds), which is much easier to attack than Argon2id, so use a long one; people you lock for need CNSA keys (a separate key pair, created under Choose people > More, shared as a key file); a security key, hiding the file and Extra strong are not available in this mode; the file ends in
.zeeas usual but older versions refuse it ("needs a newer ZeeCrypt"). Opening one needs no setting: ZeeCrypt sees what it is. Release signing still uses Ed25519 and SLH-DSA, not the LMS that CNSA 2.0 names for software signing. Details inInternals.md. - What the unlock screen can and cannot tell you. A file records the cipher flags and the stanza types, not the card that was chosen. So an opened file's box says "Standard" (flags[0] = 0) or "Extra strong or higher" (flags[0] = 1), whether it is in the current format or an older one, repair data, and whether it is signed. Files made to hide themselves have no readable header, so their details are hidden until opened.
ZeeCrypt uses the key's hmac-secret extension (WebAuthn PRF) through the Windows WebAuthn API (webauthn.dll), so Windows shows its own plug-in, PIN and touch prompts and no driver or vendor software is needed. User verification (the PIN) is always required, because a key derives a different secret with and without it.
When locking, ZeeCrypt registers a credential on the key (one touch) and asks it for a secret from a random 32-byte salt (a second touch). The FIDO2 stanza wraps the file key under HKDF-SHA3-256(Argon2id(password) | keyfile key | key secret, salt = Argon2 salt, info = "zeecrypt v3 fido2 stanza"). Its body holds the Argon2 salt, the PRF salt, the credential ID and the wrapped key. The switch in the window only reads fido2.Available() to tell you whether this computer supports security keys; the key itself is only touched when you press Lock or Open. It works together with hiding the file (the outer layer needs only the password). It requires a password (the window will not start without one).
Backup key. With "Add a backup security key" on (the default), locking registers two keys in turn, each with its own credential, Argon2 salt and PRF salt, and writes two FIDO2 stanzas that wrap the same file key and no password-only stanza. Either key with the password opens the file, so nothing about the format changed: it is still v3.00. Locking takes four PIN-and-touch prompts (two per key) and two Argon2 passes. The credentials registered so far are passed to the second registration as an exclude list (pExcludeCredentialList), so Windows refuses a key that already holds one of them and ZeeCrypt reports "that is the same security key". Opening asks once per security-key stanza, in order, until the plugged-in key answers; a cancelled prompt, a timeout and a key that does not hold the credential all come back from Windows as the same error, which is why the message says the key "did not respond, was cancelled, or is not the right key". "Add a backup key to a file" re-wraps an existing one-key file to a main and a backup key without re-encrypting the data (people ticked in the window keep access, a signature is dropped, and the original is never changed).
Phone passkeys. Registration asks for a cross-platform authenticator, which keeps Windows Hello out, but Windows may still offer a phone (hybrid transport). Such a passkey can be synced to the cloud and is not a physical key. ZeeCrypt does not yet detect or refuse it; use a hardware FIDO2 key.
- Sharing ID. An identity file: your private keys, encrypted like any locked file, with your password (Extra strong, repair data on). Your public key bundles X25519, ML-KEM-768 and Ed25519 for an older ID, and adds ML-KEM-1024, FrodoKEM-640-SHAKE and SLH-DSA-SHAKE-128s for an upgraded one. Upgraded public keys are about 20 KB (Bech32, HRP
zeecryptpq) and are shared as.pubfiles; the shortzeecrypt1...key still works with the older suite. - New in 4.0: "Create one..." now generates the keys and upgrades them straight away, so a new Sharing ID is always upgraded. Older Sharing IDs are unchanged and can be upgraded with "Upgrade my Sharing ID".
- Suites. The sender picks the strongest suite the recipient's key supports; there is no negotiation.
| Stanza type | Suite | When it is used |
|---|---|---|
| 2 | X25519 + ML-KEM-768 | Older Sharing ID |
| 4 | Suite 2 + shared secret | Older Sharing ID, with a shared secret for that contact |
| 5 | X25519 + ML-KEM-1024 + FrodoKEM-640 | Upgraded Sharing ID (the default for new ones) |
| 6 | Suite 5 + shared secret | Upgraded Sharing ID, with a shared secret |
- Combiner. One HKDF-SHA3-256 call over a length-prefixed concatenation of every shared secret, with the ciphertexts, the ephemeral key and the recipient public keys in the salt, and the suite name in the info string. No part is used without the ciphertexts and keys it came from, so a volume stays secret as long as any one component holds.
- Shared secret. 32 random bytes made for one contact, exchanged by hand, mixed into the combiner and never stored in the file. A missing or wrong secret fails exactly like a wrong key.
- Re-wrap. Wraps the same file key for new people, writes a new header with the same HKDF salt and copies the data chunks unchanged. It writes to a temporary file first. A sender signature cannot survive it, so it is dropped.
A signed file has an encrypted signature block after the header, readable only by people who can open the file. The signature covers header MAC | SHA3-256(every chunk tag, in order), so it cannot be moved to another file, and a recipient cannot re-lock the file for someone else and keep it. An upgraded identity signs with Ed25519 and SLH-DSA-SHAKE-128s together (FIPS 205, hash-based, 7,856-byte signature, about 0.7 s to sign); a file counts as signed only if both verify, and a name or fingerprint is shown only then. Signatures from older versions (Ed25519 only) are labelled "legacy signature". A contact who has an SLH-DSA key is expected to sign with both, so a valid Ed25519-only signature matching their Ed25519 key is not shown under their name: the window says it can't be confirmed as from them (the old signature type is also what a file signed before they upgraded looks like).
- Repair data. Reed-Solomon with 8 extra bytes per 128 (RS(136,128)); the header's fields are always Reed-Solomon encoded field by field. Repair is attempted per chunk, fast path first.
- Hiding the file. The whole volume is wrapped in a headerless XChaCha20 layer keyed by Argon2id(password), so no byte is recognisable. It requires a password, and is refused with public keys because recipients do not have the password.
- Notes. Stored in the clear, Reed-Solomon encoded like the rest of the header, and authenticated by the header MAC.
- Stack. Go with Dear ImGui through the
giuandimgui-goforks, the same as before. The whole window is insrc/ui.go; the work itself is still done bywork()andworkV3(), so the window only reads and sets the same settings the old one did. - Layout. Dear ImGui tables give the two columns (what to lock | how strong), a second table the bottom bar, and a third the grid in "More options". Cards are outlined with the window's draw list; a card that is one big button (the strength cards and the switches) uses an invisible button over its whole area. The number circles, switches, strength meters and padlock are drawn with shapes, not images or special characters, so they scale exactly with the window.
- Size. The empty window is 560 logical pixels wide; once there is something to lock or open it widens to 1060 and its height follows its content, up to the height of the screen's work area, after which it scrolls. All sizes are multiplied by the Windows display scale (DPI), so the window follows the Windows display scale.
- Text. The window loads Segoe UI from the Windows fonts folder at 16 pixels (times the display scale) and falls back to the bundled font if it is missing. Titles are drawn bold by drawing the text twice a pixel apart, because the window has a single font weight.
- State. The strength card is
uiLevel(0, 1, 2); choosing one sets the sameparanoidsetting as before. The summary box is built byprotectionRows()from the live settings, so it cannot disagree with what is written. For files being opened,onDropalso records the format version, the paranoid, repair and signed flags and the stanza types. - Pop-ups. The Sharing ID window and the "What is a Sharing ID?" explanation are modal pop-ups with a fixed width, centred in the main window; while the Sharing ID window is open the main window grows to fit it. Windows file and folder pickers are created by the dialog library without an owner window, so
raised()(src/dialogs.go) finds the new standard dialog window belonging to ZeeCrypt and brings it to the front once. - Network. Unchanged: none, apart from the update checker when you click the version number.
- Format labels. Files carry an internal label:
v3.00,v3.01when they use stanza types 4 to 6 or hybrid signatures, orv3.02for Government (CNSA 2.0) files. A reader accepts exactly the labels it knows (and the older ones) and refuses any other with "needs a newer ZeeCrypt". - A Sharing ID created by 4.0 is upgraded, so its identity file is format 2, which older versions of ZeeCrypt cannot open. Files locked for an upgraded Sharing ID are
v3.01, which older versions refuse the same way. - Password, keyfile and security-key files that do not use the newest public-key features are
v3.00and open in older versions too.
- Automated tests.
go test ./...(about 2.5 minutes) drives the same code the window calls: round trips for every option, damaged and tampered files, repair data, interrupted jobs and temporary-file cleanup, older-format files, public-key suites, signatures, re-wrap and security-key layouts. New tests cover the summary box (cipher, password check and tamper check follow the chosen level), the Maximum refusal, and the "what is needed to open it" logic. - By hand. The window was driven with real clicks: making a password, choosing Maximum, switching on the security key card, opening More options, opening the people window, locking a file, and opening it again.
- Not covered. The real security-key flow needs hardware and is checked by hand once per release. Nothing here has been audited by a third party (see Security).
This project is licensed under GPL-3.0-only, as a fork of Picocrypt (also GPL-3.0-only).
PGP Signed & Verified






