Back to Blog Education

How long does it take a blockchain to change its cryptography?

 ·  Christopher Smith

How long does it take a blockchain to change its cryptography?

This article was co-authored by Chris Smith, CEO of Quantus, and Conor Deegan, co-founder and CTO of Project Eleven.

One of the reasons Bitcoin is valuable is because its rules are hard to change. Every consensus change is a negotiation between developers, miners, exchanges and holders, and each one is a chance to introduce a bug or split the network. A chain that holds long-term value has good reason to change as little as possible. Ethereum changes more often, but it pays the same coordination cost on every fork, and its researchers have written about the protocol ossifying once the roadmap is done. A new chain that launches with post-quantum signatures ends up in the same place: once it holds value, its users expect the rules to stay put.

The cryptography enforcing those rules doesn’t stay put. A large enough quantum computer will break the elliptic-curve signatures most chains use today. Classical cryptanalysis, increasingly aided by AI, can also make attacks on post-quantum schemes cheaper. A chain that launches with ML-DSA has chosen a parameter set that will be attacked for as long as the chain exists.

So every chain needs to know how much notice it needs before its cryptography has to change. We estimate that below from how Bitcoin holders move their coins. At Bitcoin’s usual pace of spending, our model puts 80% of supply at about nine years, even if every wallet is ready on day one. Some of the attacks we look at below went from an early warning to a practical result in about that time. The next attack could get there sooner.

Three ways cryptography gets weaker

Cryptography loses security in three ways, and each needs a different response.

The first is a known break on an unknown date. On a large enough quantum computer, Shor’s algorithm can recover the private keys behind the elliptic-curve signatures most chains use today. Increasing the key size doesn’t solve that problem. Chains need to move to a different assumption before such a machine exists.

The second is gradual erosion, where attacks improve a step at a time. SHA-1 had a theoretical collision attack in 2005, a practical collision in 2017, and a chosen-prefix collision in 2020. We’ve also seen progress against reduced versions of SHA-256. Researchers found the first practical collision on 31 of its 64 steps in 2024, and a 2026 paper extended the theoretical attack to 37 steps. Lattice attacks have improved too. In 2022, MATZOV’s dual attack lowered some estimates of the cost of attacking Kyber. When attacks get cheaper gradually, larger parameters can buy margin.

The third is a structural break, where an attack finds something in the maths. SIKE was broken in 2022 by an attack that ran in about an hour on a laptop. For this, a chain needs a fallback under a different assumption, set up before the break.

How long moving takes

In a UTXO chain, a coin only moves to new cryptography when its owner spends it to an address that uses the new scheme or parameters. On some account chains, holders can change how their account verifies signatures without moving the funds. Either way, how fast a chain can migrate is limited by how often holders act.

Bitcoin’s transaction history shows how long coins have sat without moving. We use a Glassnode snapshot from 26 November 2026 to ask what migration would look like if coins moved at the same pace in the future. We assume wallets support the new scheme from day one and each coin moves to it the first time it’s spent.

Years after activationEstimated share of BTC migrated
1Estimated share of BTC migrated31.6%
2Estimated share of BTC migrated50.7%
3Estimated share of BTC migrated57.8%
5Estimated share of BTC migrated66.0%
7Estimated share of BTC migrated73.6%
10Estimated share of BTC migrated82.1%

Under those assumptions, half the supply moves in about two years. Getting to 80% takes about nine years if we interpolate between the seven- and ten-year figures. In the snapshot, about 18% of supply had sat untouched for more than a decade. Some of those coins may still move. For coins that never move, what happens to the old spending rules is a separate decision for the network. BIP 361 is one proposal for how Bitcoin could phase out legacy signatures.

Past upgrades show how slowly a new output type can spread. Taproot activated in November 2021. By April 2025, Taproot outputs held 0.75% of the BTC in the UTXO set.

If holders believe their coins are at risk, many may move as soon as they can. How fast they can move then depends on how much block space is available and how quickly wallets, exchanges and custodians are ready. Before any of that, the network has to agree on the upgrade and activate it.

What that means for margin

Chart comparing warning times: MD5 took 8 years from weakness to collision, SHA-1 took 12 years, SIKE was broken in about an hour on a laptop, HAWK was withdrawn in 2026, and moving 80% of Bitcoin's supply would take about 9 years

The historical warnings are about the same length. MD5 had a published weakness in 1996 and a full collision in 2004, eight years later. SHA-1 went from a theoretical attack to a practical collision in twelve years. If a chain waits for the first serious paper and its holders keep moving at their usual pace, the practical attack could arrive while much of the value is still on the old scheme.

We shouldn’t count on getting that much warning again. In 2026, researchers using Claude found an attack that led the HAWK team to withdraw the scheme from NIST’s standardisation process. For elliptic curves, a chain planning around a migration of roughly a decade already has reason to move. Waiting for a reliable date for a quantum computer leaves less time to agree on an upgrade and get holders onto it.

That gives a rule for how much margin a chain needs. The cryptography it uses should be expected to survive for longer than the chain’s migration takes, measured from today, and the chain should start moving while that is still true. Since nobody can predict how much warning the next attack will give, the margin has to be there before any weakness is published, so that a new paper doesn’t start a countdown.

Margin costs bytes. An ML-DSA-44 signature and public key take about 3.7 KB. ML-DSA-87, which targets the highest NIST security category, takes about 7.2 KB. That’s roughly twice the size for a higher NIST security category. Quantus chose ML-DSA-87 at launch. The practical SHA-256 collision attacks we discussed earlier only work on a reduced version of the hash. For hash-based signatures, a more relevant question is whether an attacker can take a given input and find another input with the same hash. That’s a second-preimage attack, and published attacks on SHA-256 are further from practical there. That margin is part of why we favour hash-based signatures for parts of a chain that are hard to upgrade.

Building the ability to move once

A chain can make the next migration easier by letting holders commit to more than one way of spending. An address can commit to a tree of spending conditions, for example a lattice signature and a hash-based signature. When the holder spends, they reveal the condition they used and a proof that it was part of the tree.

That gives holders another way to move their coins before the old scheme breaks. If the old path still works after a break, an attacker can use it too. The design needs a way to retire that path, whether the spending rules set an expiry in advance or the network disables it later.

Holders still have to move their coins to addresses that support this. At Bitcoin’s usual pace of spending, it could take close to a decade for 80% of its supply to reach those addresses. And the fallback only works if the chain can verify it and the hash commitment stays secure.

Account chains have more room. On Ethereum, a smart contract account designed to update its signature rules can do so without a fork. NEAR took a different route and added ML-DSA-65 as an option for signing transactions in its July 2026 protocol upgrade. In both cases, making a new scheme available is only the first step. Holders still have to switch, and how often they act determines how fast value moves to the new scheme.

How Quantus would handle a parameter change

Quantus currently supports ML-DSA at both the 87 and 65 types (not 44). We added support for ML-DSA-65 to support compatibility with the NEAR blockchain. Our thinking in supporting only the higher security versions was that 128 bits of security (the level of most blockchain signatures) does not give enough margin in the age of AI cryptanalysis. Security is more important than performance. It doesn’t matter how fast the blockchain is if the locks are broken.

Quantus is only a couple of months old right now, but so far we have not found transaction size to be a bottleneck. The emphasis on small signatures and keys is, in our opinion, a relic of a time when blockchains were new and limited storage and bandwidth were major obstacles to scaling. Since 2008 when Bitcoin was born the cost to store data has dropped by at least 10x and the cost to transmit data by at least 100x. Of course there will always be some limit, so being frugal with resources is wise, but premature optimization is the root of all evil. Bitcoin could increase their blocksize by 10x and almost nobody would get kicked offline.

Quantus addresses are the Poseidon2 hash of the ML-DSA public key. They do not by themselves identify which key is used underneath. That only happens when the address is spent from. This is intentional, since we want plausible deniability in our zero-knowledge transfer system, which uses addresses with no key.

Adding more signature types to Quantus is not difficult, it requires only a runtime upgrade. Deprecating signatures, however, is more difficult to do since it requires users to first spend from an address to reveal which type they are using. After such a reveal, incoming transactions to an address using deprecated cryptography can be blocked, allowing users to exit without accumulating further risk.

Quantus is planning to add SPHINCS hash signatures to the chain in the next upgrade, scheduled before the end of the year. This will both allow users who have a thesis about which post-quantum signature is preferable to express that choice as well as make it easier to shift from one to the other in the event of a sudden break.

The numbers a chain has to choose

Every chain that holds long-term value, whether it launched in 2009 or this year, has to decide a few things. How long will it take to agree on an upgrade and activate it? Once it’s live, how long will holders take to move? Bitcoin’s spending history gives us a starting point for that second question. The current cryptography needs enough margin to hold up through both, and that sets the deadline for getting started. For elliptic curves, we should already be moving. For the post-quantum schemes that replace them, we should be considering both how we deploy them now and move to other schemes once needed.