Quantum-private: why your payment history needs protecting now

Everything that happens on a public blockchain is recorded for good. That's what makes it trustworthy. It also means anyone can keep a copy of it, and wait.
Privacy tools encrypt payments so the public can't read them. But most of that encryption was designed before quantum computers were a practical concern. If a large enough quantum computer is ever built, much of today's encryption could be read, including payments that were encrypted years earlier.
Short on time? Alex explains it in 60 seconds:
What is quantum-private?
Quantum-private means payment data encrypted today stays private even after large quantum computers exist. Someone with a quantum computer can't go back through recorded history and learn who paid whom or how much. It's done with post-quantum encryption: maths that quantum computers are not known to break.
Why quantum computers change things
Most blockchains use elliptic curve cryptography. Bitcoin and Ethereum sign with a curve called secp256k1; Solana and others use a different curve, Ed25519. The idea is the same in each. Your private key is a secret number, about 78 digits long. Multiply a fixed point on the curve by that number and you get your public key.
That's easy to do and almost impossible to undo. Given the public key, working back to the secret number is known as the elliptic-curve discrete logarithm problem. The best methods on today's computers need about 2¹²⁸ steps, far more than every computer on Earth could run in the lifetime of the universe.
Privacy tools lean on the same maths. Many encrypt each payment to the recipient with a key agreed on an elliptic curve, so whoever can undo the curve can read the payment.
A quantum computer changes this because of an algorithm Peter Shor published in 1994. A normal bit is 0 or 1, so a normal computer tests one guess at a time. A qubit can be a mix of both, and Shor's algorithm uses that to work on many guesses together, arranged so the wrong answers cancel out and the right one is what's left. With a large enough machine, it works back from a public key to the private key.
That machine doesn't exist yet, but the estimates of what it takes keep falling:
- Fewer qubits. In March 2026, Google researchers reported an approximately 20-fold reduction in the number of physical qubits needed to break the 256-bit curves blockchains use. Their paper estimates the attack could run in minutes on fewer than half a million physical qubits. That's still far beyond today's hardware.
- Cheaper steps. In an open contest in summer 2026, researchers and their AI agents cut the cost of a core step of the attack by 86%, compared with the contest's starting point. It's one step, measured on paper, not a working attack. But it shows how quickly the remaining work is being optimised.
Harvest now, decrypt later
The threat has a name in the security world: harvest now, decrypt later. It works like this:
- Today, you make a private payment. It's encrypted, so the amount and the recipient are hidden from the public.
- Someone records it. On a public blockchain this takes no effort. Every block is public and copied around the world.
- They wait. Encrypted data they can't read today goes into storage.
- Years later, they decrypt it. Once a capable quantum computer exists, encryption based on today's elliptic-curve maths can be broken, and your payment history is readable.
Nobody knows exactly when such a quantum computer will exist. But that question matters less than it seems. What matters is how long your data needs to stay private. Salary payments, supplier invoices, savings: most financial history should stay private for decades.
And a blockchain can't forget. You can't delete an old transaction or re-encrypt it later. Whatever protection a payment has on the day it's made is the protection it has for good. So if privacy is going to survive quantum computers, it has to be quantum-private from the start.
Quantum-private vs quantum-secure
A large quantum computer would threaten blockchain cryptography in two different ways. The two terms describe protection against each.
| Quantum-private | Quantum-secure | |
|---|---|---|
| What it protects | Your data: who paid whom, and how much | The system: the proofs and signatures that authorise transactions |
| The attack it stops | Reading recorded payments with a quantum computer | Using a quantum computer to forge a proof or signature |
| When the risk starts | Now. Payments can be recorded today and decrypted later | Later. A forgery needs a working quantum computer at the time of the attack |
| Can it be fixed later? | No. Anything already recorded stays exposed | Yes. Proofs and signatures can be upgraded before the attack is possible |
That's why the order matters. Privacy has to come first, because it's the risk that has already started. Security can follow, because it can be upgraded before it's needed.
How post-quantum encryption works
Post-quantum encryption replaces the elliptic curve with a different hard problem, one that Shor's algorithm doesn't help with. The most widely adopted is built on lattices.
Picture a lattice as a regular grid of points, like the corners of squares on graph paper, but in hundreds of dimensions instead of two. Pick a point on the grid and nudge it slightly off. Given only the nudged point, which grid point did it come from? In two dimensions that's obvious. In hundreds of dimensions, nobody has found an efficient way to answer, on a normal computer or a quantum one.
ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) turns that problem into a way for two parties to agree a secret key:
- The recipient publishes a public key. It describes a lattice without giving away the secret that makes it easy to navigate.
- The sender uses that public key to produce two things: a fresh secret key, and a "capsule", which is in effect a nudged lattice point that hides it.
- The sender publishes the capsule. Only the recipient's private key can remove the nudge and recover the same secret key.
- Both sides now hold a key nobody else has, and use it to encrypt the payment.
NIST, the US standards agency, standardised ML-KEM in August 2024 as FIPS 203, after an eight-year public evaluation. It comes in three strengths: 512, 768 and 1024. Enygma uses ML-KEM-768, the middle one.
Two caveats. Nobody has proved that lattice problems are hard, only that years of public attempts haven't broken them; the same is true of the maths behind today's encryption. And post-quantum keys are bigger: an ML-KEM-768 public key is 1,184 bytes, against 33 for an elliptic-curve key.
How Rayls Enygma keeps payments quantum-private
Rayls Enygma Public is a privacy protocol for EVM chains. It hides who paid whom and how much from the public, while an auditor can still read every payment. Here's how it keeps them quantum-private, step by step.
What happens when you send a payment
- Your wallet looks up the recipient's view key. Every Enygma user has an ML-KEM-768 view key, a key that reads payments but can't spend them. Its public half sits in an onchain registry next to their username.
- It agrees a secret with that key. Your wallet runs ML-KEM against the recipient's view key. That gives a one-time secret and a 1,088-byte capsule that only the recipient's key can open.
- The secret does two jobs. It's stretched (with HKDF-SHA256) into an AES-256-GCM key, which encrypts the token and the amount. It's also stretched into a random-looking number called the salt.
- The payment becomes a commitment. The chain doesn't store "Leo now has 3 $USDr". It stores a hash of the recipient's spend key, the salt, the amount and the token. Without the salt, nobody can test guesses against that hash, and the salt only comes out of the capsule.
- Your wallet proves the payment is valid. A zero-knowledge proof shows that the money you're spending is yours, is in the vault, hasn't been spent before, and that the amounts add up, without revealing any of them. It takes a few seconds in your browser.
- A relayer submits it. Your address isn't in the transaction. The gas fee is paid in shielded $RLS.
The recipient's wallet finds the payment by trying its view key on each new capsule. The one that opens is theirs.
What ends up onchain, and what a quantum computer could do with it
| Onchain | Protected by | Against a quantum computer |
|---|---|---|
| Capsule | ML-KEM-768 | No known attack |
| Encrypted token and amount | AES-256-GCM | Weakened to the strength of a 128-bit key, still out of reach |
| Commitment (who received, how much) | A hash, with a salt from the ML-KEM secret | Hashes are weakened in the same way, not broken |
| Nullifier (marks money as spent) | A hash of a key only the owner holds | Same |
| Zero-knowledge proof | Groth16 | Reveals nothing, however powerful the computer. It could be forged, which is a security problem, not a privacy one |
Nothing that hides a payment between passkey accounts rests on an elliptic curve.
Where your keys come from
A passkey signs with an elliptic curve (P-256), which a quantum computer could break. Enygma doesn't build your keys from that. It asks the passkey for a separate symmetric secret it keeps for this site (the WebAuthn PRF extension) and derives your spend key and view key from it with hash functions. Only hash functions and ML-KEM stand between that secret and your shielded history.
How the auditor reads payments
Enygma is private from the public, not from the auditor. When you create an account, your wallet encrypts a copy of your view key to the auditor's own ML-KEM-768 key and stores it in the registry. The auditor opens that copy and can then read every payment you send or receive. The copy is protected with ML-KEM and AES-256-GCM, like the payments themselves.
So a payment between two passkey accounts stays hidden onchain, even from a future quantum computer. Only you, the recipient and the auditor can read it.
What it doesn't cover yet
Enygma is quantum-private, not quantum-secure:
- Proofs and signatures. Enygma's zero-knowledge proofs and the signatures that authorise transactions are not post-quantum yet. A quantum computer couldn't read your history, but in principle it could forge a proof. A proof system that is itself secure against quantum computers is next on Enygma's roadmap.
- Accounts opened with an EVM wallet. Their Enygma keys come from a wallet signature, which a quantum computer could break. Only passkey accounts are quantum-private.
- Your public balance. Like any EVM account, the public balance at your wallet address uses standard keys that aren't quantum-safe. No EVM chain has a production-ready answer to that yet.
- What's public anyway. Moving tokens into or out of your shielded balance is public, and so are usernames and addresses. What's hidden is who paid whom, and how much, inside it.
Why it matters for institutions too
Banks and asset managers have the same problem at a larger scale. Their payments, positions and counterparties need to stay confidential for years, often by regulation. Rayls Enygma Sovereign, the edition that runs between institutions, also uses ML-KEM: each bank holds an ML-KEM view key and uses it to agree secret keys with the other banks and with the network's auditor.
For a component-by-component look at quantum readiness, including the checklist we suggest institutions use with any vendor, read The Quantum Clock is ticking: what financial institutions need to do before 2027.
Frequently asked questions
What does quantum-private mean?
It means encrypted payment data stays private even after large quantum computers exist. Someone who records your payments today can't decrypt them later to learn who paid whom or how much.
What is "harvest now, decrypt later"?
It's an attack where someone stores encrypted data today and waits until a quantum computer can break the encryption. Public blockchains make it easy, because every transaction is recorded and copied for good.
What's the difference between quantum-private and quantum-secure?
Quantum-private protects your data from being read. Quantum-secure protects the system from forged proofs and signatures. The privacy risk starts now, because data can be recorded today. The security risk starts later, because a forgery needs a working quantum computer at the time of the attack.
Can quantum computers break blockchain encryption?
Not today. A large enough quantum computer could break the elliptic-curve cryptography most blockchains and privacy tools use, but nobody knows when one will exist. Data encrypted with post-quantum methods such as ML-KEM is designed to stay protected.
Is Rayls Enygma quantum-safe?
Rayls Enygma Public is quantum-private: payment data is encrypted with AES-256-GCM under keys agreed through ML-KEM-768, NIST's post-quantum standard, so the recorded history of a passkey account stays private even from a future quantum computer. Its zero-knowledge proofs and transaction signatures aren't post-quantum yet, and accounts opened with an EVM wallet aren't covered, so it isn't quantum-secure. A proof system that is secure against quantum computers is next on its roadmap.
What is ML-KEM?
ML-KEM is a method for two parties to agree a secret key that quantum computers are not known to break. NIST, the US standards agency, published it as a standard (FIPS 203) in 2024. Enygma uses it to agree the keys that encrypt each payment.
Try it
The Rayls Enygma Public testnet pilot lets anyone create a quantum-private wallet with a passkey and send payments that the public can't read, now or later. It uses test tokens only.
Read transcript
Alex Jupiter: Hi there, I'm going to quickly explain to you what quantum-private means, in under 60 seconds. Here we go.
Alright, so most blockchains use elliptic curve cryptography. This means your private key is a secret number. You multiply a point on a curve by it and you get your public key. Easy to do, almost impossible to undo.
That's because today's computer is going to guess one at a time, but a coming quantum computer can run Shor's algorithm. It tries many guesses together and the wrong ones cancel. And it's getting closer. Google's estimate in terms of how easy it would be to run this fell 20-fold, and AI agents are speeding this up even more.
But Rayls Enygma encrypts with lattice cryptography, using something called ML-KEM. Picture a grid of points in hundreds of dimensions. Your wallet hides just off of it. Only the recipient's key can snap it back.
And then Enygma goes a step further: a zero-knowledge proof shows every payment is valid without revealing who or how much. And it stays hidden onchain, even from a future quantum computer. Only you, the recipient and the auditor can read it. Now that is quantum-private.
Rayls Enygma Public hides who paid whom and how much on EVM chains, with an auditor built in. Try it on the Rayls Public Chain testnet.
.webp)

