Recently, a StarkWare researcher has introduced a groundbreaking method for rendering bitcoin transactions quantum-safe on the current network, all without altering the Bitcoin protocol. However, this innovative scheme comes with a significant cost, reaching up to $200 per transaction, and is intended as an interim measure rather than a permanent solution. The researcher, Avihu Levy, unveiled Quantum Safe Bitcoin, or QSB, a pioneering approach designed to facilitate quantum-resistant transactions without necessitating changes to the Bitcoin protocol. This is achieved by substituting signature-based security assumptions with hash-based proofs within its framework.
Although the hash-based design can withstand the type of quantum attack that would compromise today's cryptography, it shifts the burden from consensus to computation, necessitating substantial off-chain GPU work for every transaction. Traditional digital signatures, akin to a handwritten signature on a cheque, serve as proof of authorization for a transaction using a secret key that can be cross-checked with a public key. In the context of Bitcoin, these digital signatures are referred to as ECDSA signatures, which are secure against contemporary computers but potentially vulnerable to a sufficiently powerful future quantum computer.
QSB addresses this vulnerability by reimagining the system around a different type of cryptography, involving hash-based proofs that are akin to a tamper-proof fingerprint. Instead of relying solely on signatures, a unique mathematical digest of data is created, making it extremely challenging to forge or reverse, even for powerful computers. A notable advantage of QSB is that it operates entirely within Bitcoin's existing consensus rules for legacy transactions, eliminating the need for a soft fork, miner signaling, or an activation timeline. This distinguishes it from BIP-360, a quantum-resistance proposal that, despite being merged into Bitcoin's official improvement proposal repository, lacks a Bitcoin Core implementation and faces significant governance delays.
The QSB proposal builds upon an earlier concept known as Binohash, which added an extra layer of computational work to secure bitcoin transactions. However, this earlier approach relies on a type of cryptography that quantum computers are expected to compromise, rendering the protection ineffective in a quantum scenario. An attacker could bypass the system's core security check entirely, making it ineffective.
The hash-based solution, while providing quantum resistance, results in extremely expensive transactions. Generating a valid transaction necessitates searching through billions of possible candidates, a process estimated to cost between $75 and $200 using commodity cloud GPUs.
In contrast, the current cost of sending a bitcoin transaction through the blockchain is approximately 33 cents. The system also presents practical hurdles, as QSB transactions would not move through Bitcoin's normal blockchain like typical payments. Instead, users would likely need to send them directly to miners willing to process them. Furthermore, QSB transactions are incompatible with faster, cheaper layers like the Lightning Network and are far more complicated to create.
Generating a transaction would require outsourcing heavy computation to external hardware, rather than simply signing and sending from a wallet. Levy describes the scheme as a 'last resort measure,' not a replacement for protocol-level upgrades.
Proposals such as BIP-360, which aim to introduce quantum-resistant signature schemes through a soft fork, remain the more scalable long-term solution but could take years to activate. The activation timeline for BIP-360 is uncertain, with polymarket bettors assigning low odds of it happening this year. Bitcoin's governance history offers little reason for urgency, as evidenced by the seven and a half years it took for Taproot to move from concept to deployment. Meanwhile, mature quantum computers capable of breaking the encryption that secures the network are not expected to arrive soon.
QSB offers a way to survive a quantum break using today's rules, if users are willing to pay for it.