Security

Localhost Research proposes NAEST to protect Bitcoin from quantum attacks

Localhost Research proposed NAEST, a quantum-resistant signature scheme based on AES, to defend Bitcoin against Shor's algorithm. While protecting private keys, the new signatures could be up to 134 times larger than current Schnorr signatures, posing significant challenges for block capacity.

Localhost Research proposes NAEST to protect Bitcoin from quantum attacks

NAEST and the quantum threat

Localhost Research proposed NAEST, a quantum-resistant digital signature scheme built on AES cryptography, on the Delving Bitcoin developer forum on Monday. The proposal aims to protect Bitcoin against future quantum computing attacks using Shor’s algorithm without removing the functionality found in modern wallets. The researchers outlined two versions of the signature scheme: one for watch-only wallets and another that adds support for reusable stealth addresses. Because a sufficiently powerful quantum computer running Shor’s algorithm could theoretically calculate a private key from its corresponding public key, developers are exploring alternatives to the existing elliptic curve cryptography used to authorize Bitcoin transactions. NAEST builds on FAEST, which uses the Advanced Encryption Standard (AES) to allow users to prove they know a secret AES key without revealing it. The researchers’ first design uses two linked AES operations to separate the ability to generate addresses from the authority to spend funds. This design preserves the utility of watch-only wallets, which let users track transactions and check balances without keeping private keys on internet-connected devices. Users with hardware wallets can monitor their funds on a phone without carrying their signing device around.

Scaling and signature costs

The massive size of these new signatures presents a significant problem for Bitcoin block capacity and transaction fees because larger signatures consume more of the network’s limited space. A single extended signature format could impose these costs even on users who never use the additional features.

Signature Type Size in Bytes
Bitcoin Schnorr 64
Standard FAEST 5,170
FAEST with watch-only 7,210
FAEST with stealth addresses 8,570

Standard FAEST signatures occupy 5,170 bytes, and adding watch-only functionality increases that figure to 7,210 bytes, or roughly 39% more than FAEST. The use of stealth addresses would push signatures to 8,570 bytes and requires additional transaction data for stealth payments. The second design extends the AES approach to allow recipients to publish a reusable payment identifier that generates distinct on-chain destinations for different payments. This feature makes it harder for outside observers to associate payments with the same recipient, although that privacy guarantee still requires further analysis. These proposed signatures are up to 134 times larger than Bitcoin’s current Schnorr signatures. This size increase makes the proposal extremely cumbersome for current network constraints. The researchers still need to establish formal security proofs, measure performance, and determine how to incorporate these designs into Bitcoin consensus rules.