A large quantum computer would break the elliptic-curve cryptography most of crypto runs on (Shor's algorithm), but it barely weakens hash functions and 256-bit symmetric ciphers (Grover's algorithm halves their security at most). For privacy the risk starts today: anything encrypted with elliptic-curve keys and published now can be stored and decrypted later. This is called "harvest now, decrypt later".
Sotto's privacy is built on hashes and post-quantum encryption, so there is nothing on chain for that attack to open. This page lists exactly what that covers and what it doesn't.
What is quantum-resistant
| Part | How | Why a quantum computer doesn't help |
|---|---|---|
| Spend keys | Your note public key is Poseidon(spendingKey); a spend proves you know the preimage. |
There is no signature on an elliptic curve and no public key to recover a secret from. |
| Pool state | Commitments, nullifiers and the Merkle tree are Poseidon2 hashes. | Hashes can't be "opened"; without the blinding and key, a commitment says nothing about amount, owner or token. |
| Notes to yourself | A 256-bit symmetric key derived from your seed: HKDF-SHA256(seed, "sotto/self-note/v1"), XChaCha20-Poly1305. |
No public key exists for it. |
| Notes to other people | Hybrid: x25519 key agreement and ML-KEM-768 encapsulation (NIST FIPS 203). The key is derived from both secrets. | Reading the note needs both secrets, so it stays private while either x25519 or ML-KEM-768 holds. |
| Note size | Every encrypted output is 1,224 bytes, whoever it is for. | A payment can't be told from change, a merge or a deposit by its outputs. |
| Exits | Withdrawals go to a fresh address by default. | An address is a hash of its public key; the key appears on chain only with its first signature. |
Your sotto1… address carries a fingerprint (SHA3-256) of your ML-KEM-768 public key, so a sender always encrypts to the right key. See Private send for the format and How it works for the byte layout.
We tested the notes on Elysium mainnet with real funds: a deposit readable only with the depositor's self-note key, a send that only its recipient could open, and a full restore from the recovery phrase.
What is not quantum-resistant yet
- Spend proofs. Proofs use UltraHonk on the BN254 curve. A large quantum computer could in principle forge one. That would not reveal anything about you, but it could be used to take funds from the pool. This is about the safety of funds, not your privacy.
- Wallet signatures. Your public wallet (MetaMask or the extension's public account), the relayer and Elysium itself sign with ECDSA. A public address that has signed a transaction has its public key on chain. This applies to every EVM chain and is outside Sotto's control.
- Notes from before the post-quantum release used x25519 alone. Only test wallets have such notes; wallets still read them.
Roadmap
- Done: hash-based spend keys and pool, post-quantum notes, fresh-address exits.
- Building now: a quantum emergency exit. If proofs could ever be forged, the pool freezes and every user withdraws with hash checks only. Commit first, reveal later, so a bot can't take your exit; a stolen admin key can freeze the pool but never pay anyone. The prototype is built and tested. The current vault has no upgrade path by design, so this ships with the next version of the vault, after an outside review, and moving to it will be your choice.
- Next: hash-based proofs. Replace UltraHonk with a hash-based proof system verified on Elysium directly, with no elliptic-curve wrapper: a testnet prototype first, then every spend carrying both proofs before the old one is retired.
More in the blog: Quantum roadmap.