Post-quantum cryptography

Two locks on every signature

ZIRONET signs every transaction input and every block twice — once with classical ECDSA and once with post-quantum ML-DSA-65 (NIST FIPS 204) — and protects every connection between nodes with a hybrid key exchange. Here is why, in plain words first and in full detail after.

In plain words

Why quantum computers matter

Every blockchain runs on public-key cryptography: a private key signs, and the matching public key lets everyone check the signature.

Classical schemes such as ECDSA for signatures and X25519 for key exchange rest on elliptic-curve problems that today's computers cannot solve in any useful time. A large, fault-tolerant quantum computer running Shor's algorithm could solve them. Nobody knows when such a machine will exist — or whether it will.

In August 2024, NIST published three post-quantum standards: FIPS 203 (ML-KEM, for key exchange), FIPS 204 (ML-DSA, for signatures) and FIPS 205 (SLH-DSA, hash-based signatures). They run on ordinary computers.

A ledger is meant to last for decades, and changing the cryptography of a running network is hard. That is why, from block 1 onward, every ZIRONET block carries a post-quantum signature next to its classical one.

Risk 01

Forged signatures

Whoever can derive a private key from its public key can sign in the owner's name — spend coins, cast votes, publish blocks.

Risk 02

Recordings read later

Encrypted traffic recorded today could be decrypted once such a computer exists. This is often called "harvest now, decrypt later".

Post-quantum cryptography in five questions

  1. What it is

    A family of algorithms designed to withstand attacks by large future quantum computers as well as by today's computers. It is ordinary software that runs on ordinary hardware.

  2. How it works

    Instead of elliptic curves, it rests on problems for which no efficient quantum attack is known: structured lattices for ML-DSA and ML-KEM, and hash functions for SLH-DSA.

  3. Why it matters

    Signatures in a ledger, and traffic recorded today, may need to hold up for many years. A network that waits to switch algorithms risks being caught unprepared.

  4. How ZIRONET implements it

    Hybrid wherever it counts: ECDSA + ML-DSA-65 on every transaction input, every block and every PoO registration, vote and revocation; X25519 + ML-KEM-768 for sessions between nodes; three signatures on every release.

  5. What you gain

    Your coins and the chain's history do not depend on a single family of mathematics. To forge a signature, an attacker would have to break both algorithms.

Hybrid by design

Classical and post-quantum

ZIRONET does not replace classical cryptography — it pairs it with post-quantum cryptography.

Classical algorithms such as ECDSA have decades of public scrutiny behind them; the post-quantum standards are newer. Requiring both means a weakness found in either one is not enough to forge a signature.

  • Every transaction input carries an ECDSA-secp256k1 signature and an ML-DSA-65 signature. Both must be valid.
  • Every block carries the same two signatures — and so does every PoO registration, vote and revocation.
  • There is no classical-only mode. A signature without its post-quantum half is invalid on every node.
  • Both halves of your key come from your 24 recovery words, derived in separate domains.

Interactive demo

Two signatures, or no signature at all

A transaction input is valid only when both signatures check out. Remove either one and every node rejects it.

Transaction input—
ECDSA-secp256k1classical
signature present
ML-DSA-65post-quantum · NIST FIPS 204
signature present
Accepted: both signatures are present and valid.

Illustration only — no real keys or signatures are created on this page.

Coverage

Where ZIRONET uses it

Transactions, blocks, identities, votes, connections and releases — with a plain-language note for each.

Where ZIRONET uses classical and post-quantum cryptography
What is protectedAlgorithmsIn plain words
Every transaction inputECDSA-secp256k1 + ML-DSA-65 (NIST FIPS 204)Nobody can spend your coins without both signatures. Both are checked by every node.
Every blockECDSA-secp256k1 + ML-DSA-65The block producer signs every block twice, so a forged block fails on every node.
PoO registrations, votes and revocationsECDSA-secp256k1 + ML-DSA-65Identities, participation records and finality votes carry both signatures. Votes close the history for good — typically within about 6.5 to 12.5 hours.
Sessions between nodesX25519 + ML-KEM-768 (NIST FIPS 203), authenticated with Ed25519 + ML-DSA-65Every connection between nodes is encrypted with a key built from a classical and a post-quantum exchange.
Software releasesEd25519 + ML-DSA-65 + SLH-DSA-SHAKE-192s (NIST FIPS 205)All three signatures are required. The wallet checks them on its core files before it starts its node.
Your recovery words24 words (BIP39), two key halvesThe classical and the post-quantum halves of your key are derived from the same 24 words, in separate domains. One backup covers both.
Phone pairingPost-quantum pairingPairing the Android companion with the desktop wallet uses post-quantum cryptography.
Consensus hashingSHA3-256 + BLAKE3; SHA3-256 with domain tags for transaction IDs and addressesTwo different hash functions back the chain's structure; every identifier is tagged with its purpose.
Wallet fileAES-256-GCM with PBKDF2-SHA256 (600,000 iterations)An optional password encrypts the wallet on your computer — or you can lock it to the device.

Encrypted communication

How two nodes agree on a key

Nodes talk to each other only over Tor, and inside that connection they build a session key that a quantum computer alone could not recover.

  1. Onion to onion. Each node runs its own Tor onion service and reaches its peers only at onion addresses.
  2. Two exchanges at once. The nodes run X25519, a classical key agreement, and ML-KEM-768, a post-quantum key encapsulation standardized as NIST FIPS 203.
  3. One session key from both. Both shared secrets feed the session key, so an attacker would need to break both exchanges to read the session.
  4. Proof of identity. Each side signs with Ed25519 and ML-DSA-65 to prove which node it is.
  5. Right network, right rules. A node with another genesis block or another rule set is disconnected during the handshake.
Tor · onion address to onion address
Your nodeits own onion service
X25519classical key agreement
ML-KEM-768post-quantum key encapsulation · NIST FIPS 203
Session keyfrom both shared secrets
Ed25519 + ML-DSA-65each side signs to prove who it is
Peer nodeits own onion service
Illustration: a classical and a post-quantum key exchange both feed the session key, and both sides authenticate with a classical and a post-quantum signature. Tor's own encryption layers around the session are classical.

The ledger itself is public: amounts and addresses are visible to everyone. Encryption protects the connections between nodes, not the contents of the ledger.

Replay and downgrade protections

No weaker mode, no second use

A downgrade attack tries to push a system into a weaker mode; a replay attack reuses a valid message where it does not belong. Here is what stands in the way.

No fallback to classical

A signature without its ML-DSA-65 half is invalid, so there is no classical-only mode for an attacker to force.

Bound to one network

During the handshake, nodes check the genesis block and the rule-set identifier. A node from another network, or with other rules, is disconnected.

Spent means spent

A transaction spends specific unspent outputs. Once they are spent, sending the same transaction again achieves nothing: every node rejects it.

Purpose-tagged hashes

Transaction IDs and addresses use SHA3-256 with domain tags, so a hash computed for one purpose cannot be presented as another.

Conflicting votes are evidence

Every finality vote is signed with both keys and names its source and target. Two conflicting votes from one identity become signed evidence, and the seat is lost.

Releases cannot be swapped

The wallet checks three signatures on its core files before it starts its node. A modified or substituted core file fails the check.

Fail-closed

When a check fails, it stops

These checks fail closed: if one fails, the software stops instead of carrying on in a weaker state.

Cryptography is only as good as the code that runs it. ZIRONET therefore tests its post-quantum library every time it starts and verifies its own core files before its node runs.

  • The post-quantum library, liboqs 0.15.0, is embedded and pinned to its version.
  • At every start, the node runs a self-test against NIST ACVP test vectors. If the self-test fails, the node does not start.
  • Before starting its node, the wallet verifies all three release signatures — Ed25519, ML-DSA-65 and SLH-DSA — on its core files.
  • A release build cannot skip Hold to Approve: without session approval, the node does not run.
  • A peer that fails the handshake checks is disconnected.

For the technically curious

The algorithms, in detail

Post-quantum signatures are much larger than classical ones: an ML-DSA-65 signature is 3,309 bytes, against 64 bytes for a compact ECDSA signature — and ZIRONET carries both on every input.

Sizes are those defined by the standards — they are not measurements of ZIRONET.
AlgorithmStandardRole in ZIRONETSizes
ECDSA over secp256k1SEC 2 curve · classicalTransaction inputs, blocks and PoO records, always together with ML-DSA-65Public key 33 B (compressed) · signature 64 B compact, up to 72 B in DER
ML-DSA-65NIST FIPS 204 · security category 3Transaction inputs, blocks, PoO records, peer authentication and releasesPublic key 1,952 B · signature 3,309 B
X25519RFC 7748 · classicalSession keys between nodes, together with ML-KEM-768Public key 32 B
ML-KEM-768NIST FIPS 203 · security category 3Session keys between nodesEncapsulation key 1,184 B · ciphertext 1,088 B · shared secret 32 B
Ed25519RFC 8032 · classicalPeer authentication and releasesPublic key 32 B · signature 64 B
SLH-DSA-SHAKE-192sNIST FIPS 205 · security category 3ReleasesPublic key 48 B · signature 16,224 B
SHA3-256 and BLAKE3NIST FIPS 202 · BLAKE3Consensus hashing (both); transaction IDs and addresses (SHA3-256, domain-tagged)256-bit digests

Hashes and symmetric encryption

Hash functions and symmetric ciphers are far less exposed to quantum computers: the best known quantum attack on them, Grover's algorithm, roughly halves their effective security level. ZIRONET's consensus hashing combines SHA3-256 and BLAKE3, and the wallet file is encrypted with AES-256-GCM.

Separate key domains

The classical and post-quantum halves of a wallet key are both derived from the 24-word seed, in separate domains. PoO identity keys are different: they are created on the device and are not derived from the recovery words.

Limits

Where the boundary is

See the whole security model

Post-quantum signatures are one layer. See how the chain, the network, participation and your wallet are protected.