NIST Hash Schemes and Quantum-Safe Wallet Migration
A cryptocurrency wallet’s security depends entirely on the resilience of its signature scheme. Shor’s algorithm can break the elliptic-curve cryptography that secures most wallets today, particularly against any public key already revealed on-chain.
This vulnerability underpins recent discussions suggesting that NIST-approved hash schemes are crucial for quantum-safe wallets. Though this assertion holds true in one sense, it oversimplifies the challenges involved. Hash-based signatures are the most mature post-quantum option available, yet integrating them into systems like Bitcoin or existing custody stacks is complex.
This guide will define the approved schemes, connect them to practical wallet constraints, and conclude with an actionable migration checklist.
When Is a Wallet Truly Exposed?
A Bitcoin public key becomes visible the moment a transaction is made from its associated address. Older pay-to-public-key outputs and Taproot addresses expose the key even sooner. Once a key is on-chain and quantum hardware capable of running Shor’s algorithm exists, the corresponding private key can be derived.
BitGo has attempted to quantify this risk with its Bitcoin Quantum Resistance Score, which assesses wallets based on the proportion of their balance held in exposed addresses. The company has also introduced quantum-risk management features to its Bitcoin wallets to identify and move funds from exposed keys.
It’s important to note that BitGo is a custody provider describing its own product, and there’s no independent audit of its scoring methodology, false-positive rates, or remediation limits. This should be viewed as one operational example of exposure management, not a verified standard.
The key takeaway is that exposure is a current condition linked to past transactions, not a future deadline.
What NIST Actually Approved
Two documents are particularly relevant for hash-based signatures:
- FIPS 205 (SLH-DSA) is the standard for stateless hash-based signatures, derived from the SPHINCS+ submission. Its security relies on the properties of hash functions, making it resistant to Shor’s algorithm. For a detailed explanation of its stateless design, refer to the SLH-DSA overview.
- SP 800-208 outlines NIST’s profile for stateful hash-based signatures, including LMS, its multi-tree variant HSS, and XMSS.
The distinction between stateless and stateful schemes is often overlooked. SLH-DSA does not require state tracking, making it suitable for general signing without the risk of reusing a one-time key. In contrast, LMS, HSS, and XMSS offer smaller and faster verification, but each signature consumes a unique one-time key. Reusing a key compromises security, necessitating stringent state synchronization.
For context on how these fit within the broader post-quantum landscape, FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA) address key encapsulation and lattice-based signatures, respectively, as detailed in this NIST FIPS 203/204/205 guide. It’s important to remember that PQC, QKD, and QRNG solve distinct problems; this article focuses solely on signatures.
The Quip Accounts initiative, mentioned in the original source, utilizes SHRINCS, a hash-based scheme, as a security layer for smart accounts on blockchains like Ethereum. QRL has used XMSS for every mainnet transaction since June 2018, without an elliptic-curve fallback, as also noted in the same coverage. Both are successful implementations, but neither is a direct solution for Bitcoin.
Hash-Based Signatures Versus Lattice and MPC
Hash-based schemes provide robust security but come with a trade-off in size. SLH-DSA signatures can be tens of kilobytes, significantly larger than ECDSA or Schnorr signatures. On a blockchain, where every byte incurs block space and gas costs, this size difference directly impacts transaction fees.
Though LMS, HSS, and XMSS produce smaller signatures than SLH-DSA, they require meticulous state management across all devices holding a signing key. Losing track of used one-time keys can lead to irretrievable loss of funds.
Multi-party computation (MPC) custody introduces another layer of complexity. BitGo and Silence Laboratories have conducted a post-quantum MPC transaction simulation, highlighted in BitGo’s quantum-risk materials. A simulation indicates vendor exploration of post-quantum transaction flows, but it doesn’t specify the signature scheme used, how state is managed across parties, or whether key rotation and recovery function reliably in a production environment.
Obstacles to a Quantum-Safe Wallet
Each of these challenges is directly related to the characteristics of hash-based signatures:
- Consensus changes. Bitcoin cannot verify SLH-DSA or XMSS signatures without a protocol modification, which would require a Bitcoin Improvement Proposal and network consensus.
- Address formats. New script types are necessary to accommodate post-quantum public keys and signatures.
- Block space and fees. Larger signatures mean fewer transactions per block and increased costs.
- Hardware wallets. Signing devices need firmware that supports the new schemes, and for stateful schemes, reliable state storage.
- State synchronization. LMS, HSS, and XMSS must never reuse a one-time key across any copy of the wallet.
- Recovery. Backup and restoration procedures must preserve signing state, not just seeds.
As of today, none of these aspects are fully settled in production across Bitcoin consensus, wallet software, or hardware wallets.
A Migration Checklist for Wallet Teams
- Identify all exposed public keys and the balances associated with them.
- Prioritize unspent, unexposed addresses, and transfer funds from exposed keys whenever possible.
- Test SLH-DSA for stateless signing, and LMS, HSS, or XMSS when smaller signatures are critical, within both custody and MPC environments.
- Before entrusting any stateful scheme with live funds, build and rigorously test state synchronization and recovery mechanisms.
- Monitor NIST updates and Bitcoin Improvement Proposals related to post-quantum script types.
- Inquire with any vendor about the signature scheme protecting funds, its underlying security principles, and whether it has been independently audited. Be wary of claims that lack this transparency.
What to Monitor
Keep an eye on NIST guidance revisions, Bitcoin standardization efforts for post-quantum script types, and independent audits of quantum-risk scoring tools like BitGo’s. Government investment is accelerating the development of critical hardware, with France dedicating €1.55 billion to quantum computing and semiconductors and infrastructure partnerships such as the Xanadu and Bluefors cryogenic collaboration driving progress toward utility-scale machines.
For more in-depth information, QNews offers guides on post-quantum cryptography, wallet security, and the distinctions between PQC, QKD, and QRNG. Consult these resources before deploying any scheme into production, and don’t let a single vendor’s score replace a thoroughly tested migration plan.