Quantum computers and your shared secrets: are they safe?
Yes. The encryption that protects a secret you share here is AES-256-GCM with a fresh random 256-bit key, and there is no public-key cryptography in it for a quantum computer to break. The best known quantum attack on AES-256 still leaves it far beyond reach. On top of that, a secret is deleted once it is opened or expires, so there is little left to attack later.
What a quantum computer could break
Today’s internet relies on two kinds of encryption.
- Public-key cryptography (RSA, elliptic curves) lets two strangers agree on a key over an open network. It rests on maths problems, such as factoring large numbers, that a large enough quantum computer running Shor’s algorithm could solve quickly. This is the part that is at risk.
- Symmetric cryptography (AES) uses one shared secret key to lock and unlock data. No quantum algorithm breaks it outright. The best known one, Grover’s algorithm, roughly halves the effective key length, so a 256-bit key still gives about 128 bits of security. That is the level standards bodies such as NIST treat as safe against quantum attack.
Quantum computers that can break RSA or elliptic curves don’t exist yet. Nobody knows exactly when they will, which is why the world is moving to new algorithms now.
How a sharepassword.app link is protected
When you create a link, everything happens in your browser:
- A new random 256-bit key is made for that one secret.
- Two values are derived from it with HKDF-SHA-256: an AES-256 encryption key, and a separate access proof the server checks before releasing anything.
- Your secret is encrypted with AES-256-GCM, which also detects any change to the data or its settings.
- The key goes after the # in the link. Browsers never send that part to a server, so we never see it.
No step uses RSA, elliptic curves or any other public-key method. The key isn’t exchanged with us at all, because it travels inside the link you send. That leaves nothing for Shor’s algorithm to attack, and a 256-bit AES key has the margin to cope with Grover’s.
SHA-256, used for key derivation and for the access check, is also considered quantum-resistant at this size.
“Harvest now, decrypt later”
The main quantum worry today is that someone records encrypted traffic now and decrypts it years later, once the hardware exists.
One-time links make that much less useful:
- The stored secret doesn’t last. It is deleted after it is opened or when it expires, so a future attacker can’t come back and fetch it.
- The key never touches our servers. Breaking into our systems, now or later, doesn’t reveal it.
- The secret should be short-lived anyway. If you change a shared password once the person no longer needs it, an old recording reveals a password that no longer works.
Where the limits are
We want to be precise about this rather than promise more than any service can.
- The connection to our site uses HTTPS. Our site runs on Cloudflare, which offers post-quantum key agreement to browsers that support it, and current versions of the major browsers do. Older browsers fall back to classical key exchange.
- The channel you send the link through is outside our control. If an attacker recorded both that message and the HTTPS traffic that fetched the secret, and could later break both, they could in theory rebuild it. Sending the link through an app you trust, and changing passwords after use, closes that gap.
- Your device matters more than any algorithm. Malware or a malicious browser extension can read a secret on screen, quantum computer or not.
Our security page covers the rest of the design and its limits.
Questions people ask
Is AES-256 really quantum-safe?
It is the standard answer to that question. Grover’s algorithm would cut its strength from 256 bits to about 128, which is still far beyond any computer, classical or quantum, that anyone knows how to build. Doubling key length is the usual defence, and AES-256 already has it.
Do I need to do anything differently?
No. Every link is protected the same way automatically. The habits that help most are the usual ones: send the username separately, choose a short expiry, and change the password when it is no longer needed.
Will you change algorithms if that becomes necessary?
Yes. Each secret records the format it was made with, so a stronger scheme can be added without breaking links that already exist.