A researcher from StarkWare has introduced a pioneering method to render bitcoin transactions quantum-safe on the current network, all without altering the Bitcoin protocol. However, this scheme comes with a significant cost of up to $200 per transaction and is intended as an emergency measure rather than a long-term solution.
This week, Avihu Levy from StarkWare published a paper detailing Quantum Safe Bitcoin (QSB), a system designed to facilitate quantum-resistant transactions without requiring changes to the Bitcoin protocol. QSB achieves this by substituting signature-based security with hash-based proofs, thereby providing a quantum-safe alternative. Traditional digital signatures, akin to a handwritten signature on a check, verify the authenticity of a transaction by utilizing a secret key that can be cross-checked with a public key.
In the context of Bitcoin, these digital signatures are known as ECDSA signatures, which are secure against contemporary computers but potentially vulnerable to sufficiently powerful future quantum computers. QSB addresses this vulnerability by employing a different cryptographic approach, centered around hash-based proofs that are akin to a tamper-proof fingerprint.
Instead of relying solely on signatures, QSB creates a unique mathematical digest of data that is extremely difficult to forge or reverse, even for powerful computers. A notable advantage of QSB is its compatibility with 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 concept of QSB builds upon an earlier idea called Binohash, which added an extra layer of computational work to secure bitcoin transactions. However, Binohash relies on a type of cryptography that is expected to be compromised by quantum computers, rendering its protection ineffective in a quantum scenario. The hash-based solution utilized in QSB, while providing quantum safety, results in significantly more expensive transactions. According to Levy, generating a valid transaction would require 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. QSB transactions also come with practical challenges, as they would not be processed through the normal blockchain like standard payments. Instead, users would likely need to send them directly to miners willing to process these unique transactions. Furthermore, QSB transactions are not compatible with faster, cheaper layers like the Lightning Network and are more complicated to create, requiring the outsourcing of heavy computation to external hardware rather than simple signing and sending from a wallet.
Levy describes QSB as a 'last resort measure,' emphasizing that it is not intended to replace protocol-level upgrades. Proposals like BIP-360, which aim to introduce quantum-resistant signature schemes through a soft fork, remain the more scalable long-term solution, albeit with a potentially lengthy activation timeline.
The activation timeline for BIP-360 is uncertain, with market predictions indicating low odds of it happening this year. Given Bitcoin's governance history, there is little reason to expect urgency, as evidenced by the seven and a half years it took for Taproot to go from concept to deployment. Nevertheless, the advent of mature quantum computers capable of breaking the network's encryption is not imminent either.
QSB offers a distinct advantage: the ability to survive a quantum break using current rules, provided users are willing to absorb the additional cost.