№ xlii The Almanac of GST · EN IT

Enrico·rubbo.li

Tech · Longevity · Markets · Opinions ※Enrico Rubboli, propr. ※Dubai, UAE
essay December 3, 2026 12 min

NSA Post-Quantum Advisory: What It Means for Blockchains

On 2 December 2026, the U.S. National Security Agency published a press release advising an immediate transition to post-quantum cryptography.[1] The accompanying advisory, PP-26-4956, noted that frontier AI companies had responsibly disclosed recent discoveries affecting some cryptographic systems currently in use.[2] A few hours later, Cloudflare CEO Matthew Prince (@eastdakota) posted on X: “Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards,” adding that people should assume anything using RSA or elliptic-curve cryptography is affected.[3]

Prince’s warning is much sharper than what you will hear from Mintlayer or from any other Layer 1 team right now. We have no near-term plan to move Mintlayer’s consensus to post-quantum cryptography, and neither does Bitcoin or any major chain. We are investigating and monitoring the situation. The gap between Cloudflare’s urgency and ours comes down to what each system puts on the wire.

Encrypted traffic versus public ledgers

Prince specified encrypted systems, and Cloudflare terminates TLS for a large share of the internet. In TLS 1.3, an adversary who records X25519 or ECDHE handshakes today can store the ciphertext and wait. Whether the eventual break comes from a quantum computer running Shor’s algorithm or from an AI-assisted shortcut against discrete logarithms, any secret that still needs confidentiality in 2036 is already compromised if today’s key exchange is weak. Cloudflare has been rolling out hybrid X25519MLKEM768 key agreement at the edge for that reason: it protects session setup, adds roughly a kilobyte to a handshake, and needs no global consensus between a browser and a CDN.

Public blockchains put no encrypted payloads on-chain. Every transaction on Mintlayer and Bitcoin is plaintext. secp256k1 does not hide data; it proves spend authorisation at a given block height. Recording a 2026 transaction gives an attacker nothing to decrypt in 2036, because those UTXOs were spent ten years earlier.

To steal coins on a UTXO ledger, an attacker needs live key recovery: given a public key Q=k⋅GQ = k \cdot G on secp256k1, compute the private scalar kk before the owner moves the funds. That divides addresses into two cases: keys sitting statically on-chain at rest, and keys revealed only inside the mempool window while a transaction confirms.

What sits exposed on Bitcoin and Mintlayer

Shor’s algorithm needs the public key QQ. Against hash functions, quantum computers only offer Grover’s quadratic speedup, which halves bit-security at best and parallelises poorly because oracle evaluations are sequential.

On Bitcoin, exposure at rest depends on the output type. Legacy P2PK outputs, holding roughly 1.7 million BTC from early mining (including coins attributed to Satoshi Nakamoto), lock funds directly to raw 33- or 65-byte public keys in scriptPubKey. Those points have been visible on-chain for over fifteen years. P2PKH and P2WPKH (bc1q...) commit to HASH160(Q) (RIPEMD-160(SHA-256(Q))), hiding QQ until spent, unless the user reuses the address, which exchanges and custodians do routinely. Taproot (P2TR, bc1p..., BIP-341) makes exposure the default again: to allow compact key-path spends, a Taproot output writes a tweaked 32-byte x-only public key Q=P+HTapTweak(P∥m)GQ = P + \text{H}_{\text{TapTweak}}(P \parallel m)G straight into scriptPubKey. Every Taproot UTXO, even a cold-storage output that has never been spent, publishes a secp256k1 point from the block it is mined.

On Mintlayer, standard user addresses (mtc1...) encode Destination::PublicKeyHash (0x01), a 20-byte digest computed as RIPEMD-160(BLAKE2b(pubkey)).[4][5] Transaction digests use BLAKE2b-512 truncated to 256 bits (H256).[6] Until an output is spent, no secp256k1 point appears on the ledger. When it is spent, the 34-byte PublicKey and 65-byte Secp256k1Schnorr signature go into SignedTransaction.signatures: Vec<InputWitness>, leaving roughly one 120-second block window between broadcast and confirmation.[4]

Three mechanisms on Mintlayer still place keys on-chain at rest: address reuse on PublicKeyHash (avoided by standard HD derivation in Mojito and wallet-cli, which generate fresh receive and change addresses), explicit Destination::PublicKey (0x02) outputs that write the 34-byte compressed key into the output itself, and staking pools. A CreateStakePool output publishes staker, decommission_key, and vrf_public_key (Schnorrkel on Ristretto255) in StakePoolData, and each PoS block header carries a 65-byte HeaderSignature plus VRFReturn (0x00 = Schnorrkel).[4] A full post-quantum upgrade for Proof of Stake has to replace both transaction signatures and the VRF.

Why witness sizes block an immediate switch

Even if NIST’s post-quantum signature schemes had years of production hardening behind them, the byte counts do not fit current UTXO blocks.

Mintlayer’s BlockV1 is capped at 1,000,000 bytes every 120 seconds.[6] A standard Secp256k1Schnorr input witness carries a 34-byte PublicKey and a 65-byte Signature inside StandardInputSignature, or 99 bytes per input.[4] A typical 1-input, 2-output PublicKeyHash transfer serialises to roughly 200 bytes, fitting around 5,000 simple transfers per block (~41 tx/s).

Replacing Secp256k1Schnorr with NIST-standardised post-quantum signatures changes the capacity:

SchemePubkeySignatureWitnessScaleTx / 1 MB block
Secp256k1Schnorr (current)34 B65 B99 B1x~5,000 (~41/s)
ML-DSA-44 (FIPS 204, Cat 2)1,312 B2,420 B3,732 B~38x~260 (~2.2/s)
ML-DSA-87 (FIPS 204, CNSA 2.0)2,592 B4,627 B7,219 B~73x~136 (~1.1/s)
SLH-DSA-128s (FIPS 205, hash)32 B7,856 B7,888 B~80x~125 (~1.0/s)
FN-DSA-512 / Falcon (draft)897 B666 B1,563 B~16x~600 (~5.0/s)

Moving to ML-DSA-87, the profile NSA mandates in CNSA 2.0, cuts block capacity by over 97 percent and scales node storage and bandwidth requirements at the same rate.[2][7] FN-DSA (Falcon-512) is far smaller at 1,563 bytes, yet its signing algorithm relies on 64-bit IEEE-754 floating-point fast Fourier transforms, making constant-time implementations free of side-channel leaks hard to guarantee in browser extensions and hardware wallets.[8]

Rushing immature cryptography into consensus also carries immediate classical risk. SIKE, a NIST fourth-round candidate, was broken on a single classical CPU core in 2022.[9] Since AI agents already audit and exploit protocol code at machine speed, swapping battle-tested libsecp256k1 for newly standardised lattice code too early risks introducing a real exploit today to guard against hardware that does not yet exist.

Wire-format agility on Mintlayer versus governance on Bitcoin

In Mintlayer’s SCALE encoding, cryptographic types are already versioned enums with explicit one-byte discriminants:[4]

  • PublicKey: 0x00 = Secp256k1Schnorr
  • Signature: 0x00 = Secp256k1Schnorr
  • VRFReturn: 0x00 = Schnorrkel
  • Destination: 0x00 to 0x04 (AnyoneCanSpend, PublicKeyHash, PublicKey, ScriptHash, ClassicMultisig)

Transaction (VersionTag<1>) separates the transaction body from signatures: Vec<InputWitness>, with tx_merkle_root hashing the body and witness_merkle_root committing separately to the witnesses.[4] Adding 0x01 post-quantum or hybrid variants for PublicKey, Signature, and VRFReturn leaves transaction IDs and UTXO outpoint formats unchanged. Adding a 0x05 post-quantum Destination (using a 32-byte BLAKE2b-256 hash instead of 20-byte RIPEMD-160 to keep a full 128-bit post-Grover margin) is equally contained.

Mintlayer also avoids the smart-contract trap that EVM chains face. On Ethereum, thousands of deployed ERC-20 contracts, multisigs, and permits hardcode ecrecover and secp256k1 in immutable bytecode. On Mintlayer, MLS-01 tokens, DEX orders (OrderData), and HashedTimelockContract outputs all settle through the native Destination enum.[4][6] When consensus adds a post-quantum Destination and witness variant, every token, order book, and HTLC on the network inherits it without anyone redeploying a contract.

Bitcoin is in a much worse position, largely for governance and historical reasons. There is no consensus on a post-quantum migration path, and achieving any consensual protocol change in Bitcoin has always been extremely difficult. SegWit required years of conflict over block size. Taproot, which faced little opposition, still took nearly four years from specification to activation.

Bitcoin’s leading draft proposal, BIP-360 (Pay-to-Merkle-Root / P2MR), removes Taproot’s exposed key-path spend so bc1z outputs commit only to a script-tree Merkle root.[10] As of December 2026, BIP-360 remains a draft with no activation schedule, and it explicitly defers choosing a post-quantum signature algorithm to a future proposal.[10] Even after an opcode is chosen, Bitcoin still has to decide what happens to millions of BTC sitting in P2PK and unmigrated P2TR outputs whose owners may no longer hold the keys. Freezing them breaks immutability; leaving them open turns dormant Satoshi-era coins into a quantum bounty.

Because Mintlayer is a Bitcoin sidechain, our cross-chain HashedTimelockContract atomic swaps use HASH160 (RIPEMD-160(SHA-256(secret))) paired with secp256k1 spend and refund keys on both chains.[11] Moving unilaterally to an incompatible signature scheme before Bitcoin’s post-BIP-360 path settles would break shared hardware signers and wallet derivation while leaving the Bitcoin leg of every swap on secp256k1. Staying aligned with Bitcoin’s ecosystem is the practical constraint.

What we are tracking now

We are following FN-DSA finalisation at NIST, post-quantum signature aggregation research, and audited Rust implementations (pqcrypto and constant-time lattice libraries) so UTXO witness growth stays bounded when we do add a new variant. For Pulsar Proof of Stake, we are evaluating lattice- and hash-based verifiable random functions that can sit behind VRFReturn tag 0x01 without slowing 120-second block validation. On the Bitcoin side, we track post-BIP-360 signature proposals so Mojito’s key derivation and Mintlayer’s HTLC swap templates stay compatible across both chains. In the meantime, web, indexer, and node RPC endpoints stay on TLS 1.3 with hybrid PQC key exchange (X25519MLKEM768 at the edge, which directly covers the recorded-traffic risk @eastdakota flagged), and Mojito and wallet-cli default to single-use PublicKeyHash (mtc1...) addresses.

Cloudflare moved first because encrypted traffic recorded today can be decrypted later. Public ledgers do not carry that secret, and Mintlayer’s wire format already has the slots to swap signatures when the standards are ready.


References

1. National Security Agency (2026). NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems. Press Release Article 4662430, 2 December 2026. https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/ 2. National Security Agency (2026). Immediate Actions to Push Toward Post-Quantum (Cybersecurity Advisory PP-26-4956) and CNSA 2.0 Enforcement Guidance. 2 December 2026. 3. Prince M (@eastdakota) (2026). Post on X regarding post-quantum / post-AI urgency for encrypted systems, 2 December 2026. https://x.com/eastdakota/status/2128329678633287903 4. Mintlayer Documentation (2026). Mintlayer Block and Transaction Serialization Reference (PublicKey, Signature, VRFReturn, Destination, and InputWitness SCALE encodings). https://docs.mintlayer.org/docs/reference/block-and-transaction-serialization/ 5. Mintlayer Documentation (2026). Address Format Specification (PublicKeyHash BLAKE2b to RIPEMD-160 construction). https://docs.mintlayer.org/docs/wallet/addresses/address-format/ 6. Mintlayer Whitepaper (2024). Chapter 1: Blockchain Architecture (secp256k1, Schnorr signatures, Segregated Witness, 1 MB blocks, and Pulsar consensus). https://docs.mintlayer.org/docs/whitepaper/blockchain-architecture/ 7. NIST FIPS 204 (2024) and FIPS 205 (2024). Module-Lattice-Based Digital Signature Standard (ML-DSA) and Stateless Hash-Based Digital Signature Standard (SLH-DSA / SPHINCS+). 8. Prest T, Fouque PA, Hoffstein J, et al. (2020). FALCON: Fast-Fourier Lattice-based Compact Signatures over NTRU (draft NIST FIPS 206 / FN-DSA). 9. Castryck W, Decru T (2022). An efficient key recovery attack on SIDH / SIKE. Advances in Cryptology: EUROCRYPT 2023. 10. Beast H, Heilman E, Duke IF (2025–2026). BIP-360: Pay-to-Merkle-Root (P2MR) Draft Specification. https://bip360.org/ 11. Mintlayer Whitepaper (2024). Chapter 6: Mintlayer and Bitcoin Atomic Swaps (HASH160 and HTLC script structure). https://docs.mintlayer.org/docs/whitepaper/bitcoin-mintlayer-atomic-swaps/