Espresso reveals ‘quantum-safe’ Bitcoin method behind unusual mainnet transaction

The Block

Espresso reveals ‘quantum-safe’ Bitcoin method behind unusual mainnet transaction

Blockchain infrastructure firm Espresso Systems said Friday the unusual Bitcoin (BTC) transaction spotted earlier this week was a test of its experimental Practical Quantum Safe Bitcoin method, or PQSB.Mempool.space developer Mononaut noted the transaction on Wednesday. The construction was "much lighter than PQB," Fireblocks' experimental Post-Quantum Bitcoin method for quantum-resistant transactions, Mononaut said, and "works under standard relay policy in a p2wsh output," meaning ordinary Bitcoin nodes can pass the transaction through the public network.StarkWare previously demonstrated a quantum-resistant Bitcoin transaction in August. However, preparing the transaction can take hours of computation, and the company had to submit it directly to a miner willing to accept it. Building on StarkWare's work, Fireblocks released a new open-source research project on Tuesday that it said reduces the computing cost of preparing a quantum-resistant bitcoin spending transaction roughly 20-fold, from about $60 to $3, excluding network fees, with preparation typically taking 10–30 minutes using rented GPUs.Like StarkWare, Fireblocks sent its transactions through bitcoin miner Mara's Slipstream service. PQB transactions meet Bitcoin's consensus rules but fall outside most nodes' relay policies, so they must go directly to a miner willing to accept them.In a statement shared with The Block, Espresso said it paid about $2 in network fees to carry out the test transaction, with PQSB requiring no change to Bitcoin's existing rules, allowing holders to add protection without waiting for a network upgrade."Previously proposed quantum-safe methods to spend bitcoin required hours of GPU computation, making them impractical for ordinary users," said Ben Fisch, Espresso's CEO and an assistant professor of computer science at Yale. "Our discovery makes it practical for everyday users to protect their bitcoin in under 20 seconds on an ordinary laptop."There are two versions of PQSB, according to the statement. One signs in seconds on a laptop and offers a stronger security level, but its transactions still need to be sent to a miner directly, like earlier methods. The alternative version Mononaut found can be sent like any normal transaction and signed in about a minute on a consumer graphics card, Expresso said. The company's paper, "Practical Quantum Safe Bitcoin: Hash-Based One-Time Signatures for Bitcoin Scripts," argues that its lower security level is sufficient for the short time a transaction is in flight.An Espresso product researcher who publishes under the pseudonym "gets" came up with the idea for PQSB, which was developed with Fisch and Chief Scientist Benedikt Bünz, the firm said."The idea started as a way to make SegWit spends quantum-safe, and to enable sending transactions through the standard mempool," gets said. "During that research, we realized that we could generalize how protocols like QSB work, which allowed us to create this new version that is far more practical."Hash-based signatures under Bitcoin's existing rulesAs with the earlier StarkWare and Fireblocks methods, PQSB uses hash-based signatures for quantum-resistant protection. To spend the bitcoin, the owner solves a puzzle based on the transaction hash and signs the solution with a hash-based one-time signature, Fisch explained to The Block. Script checks the hash-based signature, then uses ECDSA verification to check that the solution satisfies the puzzle for the actual transaction. "Changing the transaction changes the puzzle," Fisch said.The puzzles are designed to make it hard for an attacker to find another transaction that accepts the already signed solution. Substituting a different solution would require the attacker to forge the owner’s quantum-safe signature on that solution, Fisch said. He described hash-based signatures as the most conservative approach to post-quantum digital signatures.On Wednesday, the NSA, CISA, and the Office of the National Cyber Director issued a joint statement saying American AI companies had disclosed discoveries affecting the security of some cryptography currently in use. However, the agencies assessed that the recent advances did not present "an immediate and widespread threat" to that cryptography.Amazon, Anthropic, Apple, Cloudflare, Google, Meta, Microsoft, OpenAI, and Oracle backed the government's guidance, urging organizations to accelerate their adoption of NIST's post-quantum cryptography standards as soon as possible."Quantum computers are the biggest known looming threat to Bitcoin. AI-powered cryptanalysis is another, possibly more immediate threat. Fortunately, hash-based signatures are the right answer to both problems," Espresso's Bünz said. "Bitcoin is very slow to upgrade, but PQSB enables post-quantum and post-AI protection today, without the caveats of prior solutions."PQSB is research and has not been audited, Espresso said Friday. The company is currently working on what it calls "Bunker Mode" accounts to help wallets and custodians add quantum-safe protection while retaining their existing key management infrastructure.