<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blockchain on kenji.blog</title><link>http://kenji.blog/en/categories/blockchain/</link><description>Recent content in Blockchain on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Fri, 11 Sep 2026 17:00:00 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/categories/blockchain/index.xml" rel="self" type="application/rss+xml"/><item><title>How Will Blockchain and Cryptocurrencies Change in the Post-Quantum Era?</title><link>http://kenji.blog/en/p/post-quantum-blockchain-and-crypto/</link><pubDate>Fri, 11 Sep 2026 17:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/post-quantum-blockchain-and-crypto/</guid><description>&lt;img src="http://kenji.blog/p/post-quantum-blockchain-and-crypto/img/eyecatch.jpg" alt="Featured image of post How Will Blockchain and Cryptocurrencies Change in the Post-Quantum Era?" />&lt;h2 id="1-introduction-the-footsteps-of-the-post-quantum-era-and-the-crisis-of-blockchain">1. Introduction: The Footsteps of the Post-Quantum Era and the Crisis of Blockchain
&lt;/h2>&lt;p>Since the birth of Bitcoin by Satoshi Nakamoto in 2009, blockchain technology has grown to become the foundation of financial systems and applications worldwide as a &amp;ldquo;decentralized and tamper-proof ledger.&amp;rdquo; This robust security is supported by modern cryptographic technologies: &lt;strong>Public Key Cryptography&lt;/strong> and &lt;strong>Cryptographic Hash Functions&lt;/strong>.&lt;/p>
&lt;p>These cryptographic technologies guarantee security based on the mathematical &amp;ldquo;computational difficulty&amp;rdquo; that classical computers (the PCs and supercomputers we currently use) cannot decipher even if they took time equivalent to the lifespan of the universe.&lt;/p>
&lt;p>However, this premise is about to be fundamentally overturned by the rapid development and practical application of &lt;strong>Quantum Computers&lt;/strong>, the frontier of physics and information science. Quantum computers, which utilize quantum mechanics specifics such as &amp;ldquo;Superposition&amp;rdquo; and &amp;ldquo;Entanglement,&amp;rdquo; demonstrate computational power that overwhelms conventional classical computers in specific mathematical problems, a phenomenon known as &amp;ldquo;Quantum Supremacy.&amp;rdquo;&lt;/p>
&lt;p>In this article, we will thoroughly and deeply delve into what specific threats blockchain technology faces from quantum computers, the latest trends in &lt;strong>Post-Quantum Cryptography (PQC)&lt;/strong> that serve as a solution, and the transition scenarios for crypto asset networks from a technical and mathematical perspective.&lt;/p>
&lt;hr>
&lt;h2 id="2-basics-of-quantum-computers-and-two-major-threats-to-blockchain">2. Basics of Quantum Computers and Two Major Threats to Blockchain
&lt;/h2>&lt;p>Current blockchain systems are primarily composed of the following two cryptographic elements, each of which is exposed to different threats from quantum algorithms.&lt;/p>
&lt;div class="mermaid">graph TD
A["Astonishing computational power of quantum computers"] --> B["Shor's Algorithm"]
A --> C["Grover's Algorithm"]
B --> D["Collapse of Public Key Cryptography (ECDSA/RSA/DSA)"]
C --> E["Impact on Cryptographic Hash Functions (SHA-256)"]
D --> F["Identification of others' private keys and transaction forgery"]
E --> G["PoW mining dominance and attacks on certain addresses"]
F --> H["Fatal and direct threat to blockchain"]
G --> I["Threat manageable by algorithm adjustments (e.g., key length extension)"]
style H fill:#ff9999,stroke:#cc0000,stroke-width:2px;
style I fill:#ffff99,stroke:#cccc00,stroke-width:2px;&lt;/div>
&lt;h3 id="21-basics-of-elliptic-curve-cryptography-ecdsa-and-computational-difficulty">2.1. Basics of Elliptic Curve Cryptography (ECDSA) and Computational Difficulty
&lt;/h3>&lt;p>Many blockchains, including Bitcoin and Ethereum, employ the &lt;strong>Elliptic Curve Digital Signature Algorithm (ECDSA)&lt;/strong> as their digital signature algorithm. Specifically, Bitcoin uses an elliptic curve with the parameter &lt;code>secp256k1&lt;/code>.&lt;/p>
&lt;p>The security of elliptic curve cryptography relies on the computational difficulty of the &lt;strong>Elliptic Curve Discrete Logarithm Problem (ECDLP)&lt;/strong>.
An elliptic curve is defined by the following equation in the Weierstrass normal form:&lt;/p>
$$
y^2 \equiv x^3 + ax + b \pmod{p}
$$
&lt;p>In Bitcoin&amp;rsquo;s &lt;code>secp256k1&lt;/code>, $a = 0, b = 7$, and $p$ is a very large prime number.
Let $G$ be the base point (reference point) on this curve, and $k$ be the private key, which is a randomly chosen massive 256-bit integer. The public key $K$ is then obtained by adding the base point $k$ times (scalar multiplication).&lt;/p>
$$
K = k \times G = \underbrace{G + G + \dots + G}_{k \text{ times}}
$$
&lt;p>Calculating the private key $k$ (finding the discrete logarithm) from the exposed public key $K$ and base point $G$ using classical computers requires an exponential computational time of $\mathcal{O}(\sqrt{p})$, even when using the best classical algorithms like Pollard&amp;rsquo;s rho algorithm. For a 256-bit key, it takes about $2^{128}$ operations, a level that cannot be solved even if current supercomputers are run for billions of years.&lt;/p>
&lt;h3 id="22-collapse-by-shors-algorithm">2.2. Collapse by Shor&amp;rsquo;s Algorithm
&lt;/h3>&lt;p>However, &lt;strong>Shor&amp;rsquo;s Algorithm&lt;/strong>, published by Peter Shor in 1994, completely destroyed this premise. Shor&amp;rsquo;s algorithm was originally proposed to solve the prime factorization problem (the foundation of RSA cryptography) in polynomial time, but it can also be applied to the discrete logarithm problem and the elliptic curve discrete logarithm problem.&lt;/p>
&lt;p>The core of Shor&amp;rsquo;s algorithm lies in rapidly finding the &amp;ldquo;Period&amp;rdquo; of a function using the &lt;strong>Quantum Fourier Transform (QFT)&lt;/strong>.&lt;/p>
$$
\text{Classical computational complexity} = \mathcal{O}(2^{n/2}) \quad (\text{where } n \text{ is the bit length})
$$
$$
\text{Quantum algorithm computational complexity} = \mathcal{O}(n^3)
$$
&lt;p>In this way, Shor&amp;rsquo;s algorithm dramatically reduces exponential time to &lt;strong>Polynomial Time&lt;/strong>. If a quantum computer with sufficient logical qubits is completed, it will be possible to determine the private key $k$ from the public key $K$ exposed on the network in minutes or seconds. This allows attackers to easily obtain the private keys of others&amp;rsquo; wallets and take full control of their funds.&lt;/p>
&lt;h4 id="221-step-by-step-explanation-of-ecdlp-decryption-by-shors-algorithm">2.2.1 Step-by-Step Explanation of ECDLP Decryption by Shor&amp;rsquo;s Algorithm
&lt;/h4>&lt;p>Let&amp;rsquo;s look at the internal process of how a quantum computer solves the Elliptic Curve Discrete Logarithm Problem (ECDLP) step by step.&lt;/p>
&lt;p>Problem setting: In $K = k \times G$, $G$ and $K$ are known, and we want to find the unknown integer $k$ (private key). Let the order of the elliptic curve be $N$.&lt;/p>
&lt;p>&lt;strong>Step 1: Creation of a superposition state&lt;/strong>
First, prepare two quantum registers and apply a Hadamard Gate to each to create a superposition state of all possible integer combinations.
&lt;/p>
$$
|\psi_1\rangle = \frac{1}{N} \sum_{x=0}^{N-1} \sum_{y=0}^{N-1} |x\rangle |y\rangle |0\rangle
$$
&lt;p>&lt;strong>Step 2: Application of the quantum oracle (evaluation of the function)&lt;/strong>
Next, using a quantum circuit (oracle) that performs point addition on the elliptic curve, compute the function $f(x, y) = x \times G + y \times K$ in the third register.
&lt;/p>
$$
|\psi_2\rangle = \frac{1}{N} \sum_{x=0}^{N-1} \sum_{y=0}^{N-1} |x\rangle |y\rangle |x \times G + y \times K\rangle
$$
&lt;p>
The important point here is that since $K = k \times G$, we can rewrite it as $f(x, y) = (x + y \cdot k) \times G$.&lt;/p>
&lt;p>&lt;strong>Step 3: Measurement of the third register&lt;/strong>
When the third register is measured, it collapses to a point $R$ on the elliptic curve. As a result, the first and second registers collapse to a superposition state of pairs $(x, y)$ that satisfy $x + y \cdot k \equiv c \pmod{N}$ (where $c$ is a constant).
&lt;/p>
$$
|\psi_3\rangle = \frac{1}{\sqrt{N}} \sum_{y=0}^{N-1} |c - y \cdot k \pmod{N}\rangle |y\rangle
$$
&lt;p>&lt;strong>Step 4: Application of the Quantum Fourier Transform (QFT)&lt;/strong>
This state has a periodicity related to the period $k$. By applying the Inverse QFT here, phase interference is induced, converting the period information into amplitudes.&lt;/p>
&lt;p>&lt;strong>Step 5: Measurement and classical post-processing&lt;/strong>
When the first and second registers are measured, a value containing information about $k$ is obtained with high probability. By applying classical number theory algorithms such as Continued Fractions to the measured value, the unknown private key $k$ can be completely determined.&lt;/p>
&lt;p>The number of quantum gates required for this entire process is $\mathcal{O}(\log^3 N)$, uncovering the private key at ultra-high speeds completely incomparable to the $\mathcal{O}(\sqrt{N})$ search by classical computers.&lt;/p>
&lt;h3 id="23-grovers-algorithm-and-its-impact-on-hash-functions">2.3. Grover&amp;rsquo;s Algorithm and its Impact on Hash Functions
&lt;/h3>&lt;p>Another threat is &lt;strong>Grover&amp;rsquo;s Algorithm&lt;/strong>, proposed by Lov Grover in 1996. This significantly impacts hash functions (e.g., SHA-256).&lt;/p>
&lt;p>In blockchain, hash functions are used to ensure data integrity, generate addresses, and serve as the foundation for &lt;strong>PoW (Proof of Work) mining&lt;/strong> in Bitcoin. Reversing a hash function (preimage computation) can be seen as an &amp;ldquo;unstructured database search problem&amp;rdquo; to find the input value $x$ such that $H(x) = y$ for a specific output value $y$.&lt;/p>
&lt;p>For classical computers, finding the correct answer out of $N$ possibilities requires an average of $\frac{N}{2}$ trials and a worst-case of $N$ trials. That is, the computational complexity is $\mathcal{O}(N)$.
However, Grover&amp;rsquo;s algorithm uses a quantum technique called &amp;ldquo;Amplitude Amplification.&amp;rdquo; By iteratively amplifying the probability amplitude of the correct state from among all possibilities in a superposition state, it reduces the search time to its square root.&lt;/p>
$$
\text{Computational complexity of Grover's Algorithm} = \mathcal{O}(\sqrt{N})
$$
&lt;p>For SHA-256, since $N = 2^{256}$, a classical brute-force search requires about $2^{256}$ trials. But using Grover&amp;rsquo;s algorithm, it only takes $\sqrt{2^{256}} = 2^{128}$ trials. This means that a 256-bit hash function&amp;rsquo;s security strength is &lt;strong>effectively halved to 128 bits&lt;/strong> against quantum computers.&lt;/p>
&lt;h4 id="231-will-sha-256-survive-quantum-supremacy-in-hashing">2.3.1. Will SHA-256 Survive? (Quantum Supremacy in Hashing)
&lt;/h4>&lt;p>Even if the security is halved, &amp;ldquo;128-bit security&amp;rdquo; remains extremely robust. The $2^{128}$ operations is an astronomical number even from the current technological level, requiring a timescale of the lifespan of the universe.
Therefore, it is widely believed that &lt;strong>&amp;ldquo;SHA-256 maintains practical security against quantum computers.&amp;rdquo;&lt;/strong> If it becomes necessary to increase the security margin in the future, simply doubling the hash output length (e.g., migrating from SHA-256 to SHA-512) will preserve classical 256-bit security in the quantum world.&lt;/p>
&lt;p>In conclusion, the quantum threat to hash functions is &amp;ldquo;minor and manageable,&amp;rdquo; whereas the threat to public key cryptography (ECDSA) is &amp;ldquo;fatal.&amp;rdquo;&lt;/p>
&lt;hr>
&lt;h2 id="3-specific-impact-analysis-on-current-crypto-assets-bitcoin-ethereum">3. Specific Impact Analysis on Current Crypto Assets (Bitcoin, Ethereum)
&lt;/h2>&lt;p>In a world where ECDSA decryption by quantum computers is possible, what specific vulnerabilities will crypto asset networks face? Here, we provide a detailed analysis using Bitcoin&amp;rsquo;s mechanism as an example, from the perspective of &lt;strong>&amp;ldquo;the timing of public key exposure.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;h3 id="31-address-generation-and-the-privacy-of-public-keys">3.1. Address Generation and the &amp;ldquo;Privacy&amp;rdquo; of Public Keys
&lt;/h3>&lt;p>Bitcoin addresses (P2PKH: Pay-to-Public-Key-Hash or P2WPKH: Pay-to-Witness-Public-Key-Hash) use a public key hashed multiple times rather than the public key itself.&lt;/p>
$$
\text{Bitcoin Address} = \text{Base58Check}(\text{RIPEMD160}(\text{SHA256}(\text{Public Key})))
$$
&lt;p>As mentioned earlier, since hash functions are resistant to quantum attacks (Grover&amp;rsquo;s algorithm), reversing the original &amp;ldquo;public key&amp;rdquo; from the &amp;ldquo;address&amp;rdquo; (which is a hash value) is impossible even for a quantum computer.
In other words, for &lt;strong>&amp;ldquo;unused addresses (those that have never sent funds),&amp;rdquo;&lt;/strong> the public key is not exposed on the blockchain at all, and only the hash value is recorded. Therefore, as long as the public key is unknown, there is no target to execute Shor&amp;rsquo;s algorithm, and the private key cannot be identified. Wallets in this state can be said to be Quantum-safe.&lt;/p>
&lt;h3 id="32-fatal-vulnerability-during-transaction-transmission-front-running-attack">3.2. Fatal Vulnerability During Transaction Transmission (Front-running Attack)
&lt;/h3>&lt;p>The problem arises when users send funds.
When broadcasting (sending) a transaction to the network, the user must &lt;strong>include their public key in the transaction data along with the digital signature and expose it to the entire network&lt;/strong> for verification.&lt;/p>
&lt;div class="mermaid">sequenceDiagram
participant User as "User (Alice)"
participant Mempool as "Mempool (Unconfirmed Transaction Pool)"
participant QuantumAttacker as "Quantum Attacker"
participant Miner as "Miner (Block Generation)"
User->>Mempool: Send transaction (including public key + signature)
Mempool-->>QuantumAttacker: Intercept public key on the network
note right of QuantumAttacker: Execute Shor's algorithm in minutes&lt;br/>(Calculate private key from public key)
QuantumAttacker->>QuantumAttacker: Generate a new signature using Alice's private key
QuantumAttacker->>Mempool: Broadcast fraudulent transfer with a higher miner fee
Miner->>Miner: Prioritize fraudulent transaction with higher fee (Gas) into a block
Miner-->>User: Recorded on blockchain (Alice loses funds)&lt;/div>
&lt;p>Once the public key is sent to the Mempool (the waiting area for unconfirmed transactions), that data is shared with nodes worldwide. If an attacker possesses an ultra-fast quantum computer, they can steal funds through the following process:&lt;/p>
&lt;ol>
&lt;li>Intercept a legitimate user&amp;rsquo;s (Alice&amp;rsquo;s) transaction from the Mempool and &lt;strong>extract the public key&lt;/strong>.&lt;/li>
&lt;li>Execute Shor&amp;rsquo;s algorithm and &lt;strong>calculate the private key from the public key within minutes (before the block is confirmed)&lt;/strong>.&lt;/li>
&lt;li>Using the obtained private key, &lt;strong>create a fake transaction&lt;/strong> sending Alice&amp;rsquo;s funds to the attacker&amp;rsquo;s address.&lt;/li>
&lt;li>Set a &lt;strong>much higher miner fee&lt;/strong> for this fake transaction than Alice&amp;rsquo;s original transaction and send it to the network.&lt;/li>
&lt;/ol>
&lt;p>Miners prioritize transactions with higher fees into blocks according to economic incentives. As a result, the attacker&amp;rsquo;s fraudulent transfer is confirmed first, and Alice&amp;rsquo;s legitimate transfer is discarded as a &amp;ldquo;Double Spend&amp;rdquo; due to insufficient balance.
This series of events is called a &lt;strong>Front-running Attack&lt;/strong>, and in a world where quantum computers are commercialized, it will cause a terrifying situation where funds are stolen by hackers the moment someone presses the send button.&lt;/p>
&lt;h3 id="33-the-crisis-of-reused-addresses-and-old-addresses-p2pk">3.3. The Crisis of Reused Addresses and Old Addresses (P2PK)
&lt;/h3>&lt;p>An even more serious problem is that addresses that have sent funds at least once in the past (such as when reused as change addresses) already have their public keys permanently recorded on the blockchain. These are in danger of having their private keys calculated and balances stolen at any time, without even waiting to send a transaction.&lt;/p>
&lt;p>Additionally, in the &lt;strong>P2PK (Pay-to-Public-Key)&lt;/strong> format, which was mainstream around 2009-2010 and includes Satoshi Nakamoto&amp;rsquo;s early mining rewards (over 1 million BTC), the public key itself was recorded directly on the blockchain as the address instead of a hash. These massive amounts of dormant Bitcoins would be the easiest targets for quantum computers, and if stolen all at once and dumped on the market, could cause a massive price crash.&lt;/p>
&lt;hr>
&lt;h2 id="4-transition-scenarios-to-post-quantum-cryptography-pqc">4. Transition Scenarios to Post-Quantum Cryptography (PQC)
&lt;/h2>&lt;p>To avoid such a &amp;ldquo;Q-Day (the day quantum computers break cryptography)&amp;rdquo; catastrophe, the cryptography and blockchain communities are planning a transition to &lt;strong>Post-Quantum Cryptography (PQC)&lt;/strong>, which is difficult even for quantum algorithms to decrypt.
The National Institute of Standards and Technology (NIST) has been progressing with the standardization process of PQC for many years, and after several rounds of rigorous evaluation, some promising cryptographic schemes have been selected as final standards.&lt;/p>
&lt;p>We will explain in detail the major PQC algorithms that are drawing attention as digital signature alternatives for blockchains, along with their mathematical mechanisms.&lt;/p>
&lt;h3 id="41-hash-based-signatures">4.1. Hash-Based Signatures
&lt;/h3>&lt;p>Hash-based signatures are a cryptographic scheme whose security relies solely on a very simple and robust foundation: the &amp;ldquo;collision resistance of hash functions.&amp;rdquo; Since the safety of hash functions against quantum computers has already been proven (as mentioned above, a 128-bit security margin is sufficient), this is a highly reliable approach.
Representative examples include &lt;strong>Lamport Signatures&lt;/strong>, WOTS (Winternitz One-Time Signature) which extended it, and the NIST standardization candidate &lt;strong>SPHINCS+&lt;/strong> (now called SLH-DSA under FIPS 205).&lt;/p>
&lt;h4 id="411-mathematical-details-of-lamport-signatures-one-time-signature">4.1.1. Mathematical Details of Lamport Signatures (One-Time Signature)
&lt;/h4>&lt;p>Let&amp;rsquo;s look at the mechanism of Lamport signatures in more mathematical detail.
Let the hash function be $H: \{0, 1\}^* \to \{0, 1\}^{256}$.&lt;/p>
&lt;p>&lt;strong>[Key Generation]&lt;/strong>
Alice (sender) generates 256 pairs of private keys using a True Random Number Generator (TRNG).
&lt;/p>
$$
\text{sk}_{i,0} \in \{0, 1\}^{256}, \quad \text{sk}_{i,1} \in \{0, 1\}^{256} \quad (1 \le i \le 256)
$$
&lt;p>
Thus, the private key $\text{sk}$ consists of a total of 512 256-bit strings (Size: $512 \times 32 = 16,384$ bytes).&lt;/p>
&lt;p>Next, she computes the public key $\text{pk}$. Each private key component is individually hashed.
&lt;/p>
$$
\text{pk}_{i,0} = H(\text{sk}_{i,0}), \quad \text{pk}_{i,1} = H(\text{sk}_{i,1})
$$
&lt;p>
The public key is also $16,384$ bytes. This is published to the blockchain network.&lt;/p>
&lt;p>&lt;strong>[Signature Generation]&lt;/strong>
To sign a transaction data $M$, Alice first calculates its hash value.
&lt;/p>
$$
h = H(M) \in \{0, 1\}^{256}
$$
&lt;p>
Let the $i$-th bit of the hash value $h$ be $h_i \in \{0, 1\}$.
Alice&amp;rsquo;s signature $\sigma$ is a set of private key components corresponding to each bit $h_i$.
&lt;/p>
$$
\sigma = (\text{sk}_{1, h_1}, \text{sk}_{2, h_2}, \dots, \text{sk}_{256, h_{256}})
$$
&lt;p>
In other words, if the message hash bit is &lt;code>0&lt;/code>, $\text{sk}_{i,0}$ is revealed, and if &lt;code>1&lt;/code>, $\text{sk}_{i,1}$ is revealed. The signature size is $256 \times 32 = 8,192$ bytes.&lt;/p>
&lt;p>&lt;strong>[Signature Verification]&lt;/strong>
The miner (verifier) verifies using the received transaction $M$, signature $\sigma = (s_1, s_2, \dots, s_{256})$, and the public key $\text{pk}$.
They recalculate the hash of the transaction $h = H(M)$, and check whether hashing each $s_i$ matches the corresponding element $\text{pk}_{i, h_i}$ of the public key.
&lt;/p>
$$
H(s_i) \overset{?}{=} \text{pk}_{i, h_i} \quad (\text{for all } 1 \le i \le 256)
$$
&lt;p>This process is mathematically extremely simple, and it is impossible to forge a signature unless a quantum computer can reverse $H$. However, once signed, half of the private key is exposed to the network, so if another message is signed with the same key pair, the exposed private keys combine to give the attacker room for forgery, creating a strong restriction that it can only be used &amp;ldquo;One-Time.&amp;rdquo;
To make this practical, technologies like &lt;strong>XMSS&lt;/strong>, which bundles many one-time keys into a single root public key using a Merkle tree, and the stateless &lt;strong>SPHINCS+&lt;/strong> have been developed, but they have the drawback of signature sizes reaching tens of kilobytes.&lt;/p>
&lt;h3 id="42-lattice-based-cryptography">4.2. Lattice-Based Cryptography
&lt;/h3>&lt;p>Currently, the most anticipated mainstream of PQC, adopted as NIST&amp;rsquo;s main standard specification (FIPS 204: ML-DSA / formerly CRYSTALS-Dilithium, and Falcon, etc.), is &lt;strong>Lattice-Based Cryptography&lt;/strong>.&lt;/p>
&lt;p>The security of lattice cryptography depends on mathematically proven hard problems such as the &amp;ldquo;Shortest Vector Problem (SVP) in multi-dimensional lattices&amp;rdquo; or the &amp;ldquo;Learning With Errors (LWE) problem.&amp;rdquo; No algorithm has been found to solve lattice problems efficiently even using quantum computers.&lt;/p>
&lt;p>&lt;strong>Mathematical Model of LWE (Learning With Errors):&lt;/strong>
The basic idea of the LWE problem is to dramatically increase the difficulty of a problem by intentionally adding &amp;ldquo;small noise (errors)&amp;rdquo; to a system of linear equations.
Let the secret vector be $\mathbf{s} \in \mathbb{Z}_q^n$.
There is a massive randomly chosen public matrix $\mathbf{A} \in \mathbb{Z}_q^{m \times n}$ and an intentionally added small noise vector $\mathbf{e} \in \mathbb{Z}_q^m$.
The public key $\mathbf{b}$ is calculated as follows:&lt;/p>
$$
\mathbf{b} = \mathbf{A}\mathbf{s} + \mathbf{e} \pmod{q}
$$
&lt;p>Even if matrix $\mathbf{A}$ and vector $\mathbf{b}$ (public key) are public, reversing them to find the private key $\mathbf{s}$ becomes extremely difficult due to the presence of the noise $\mathbf{e}$. Without the noise, it could be solved by simple Gaussian elimination, but with the noise, the search space in all dimensions explodes, providing robust security against both classical and quantum computers.
In actual algorithms used in blockchain and elsewhere (like Dilithium), &lt;strong>Ring-LWE (or Module-LWE)&lt;/strong>, which expands this over polynomial rings, is used to reduce key sizes and speed up computations.&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Pros&lt;/strong>: Compared to hash-based signatures, public key and signature sizes are relatively small (a few kilobytes), and signature generation/verification computation speeds are extremely fast (equivalent to or better than ECDSA).&lt;/li>
&lt;li>&lt;strong>Cons&lt;/strong>: The mathematical structure is complex, and because the historical verification period is short, the risk of a new decryption algorithm being discovered in the future is not zero.&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="5-technical-challenges-in-migrating-blockchains-to-pqc">5. Technical Challenges in Migrating Blockchains to PQC
&lt;/h2>&lt;p>Just because PQC algorithms (like Dilithium and SPHINCS+) exist doesn&amp;rsquo;t mean they can be introduced to Bitcoin or Ethereum tomorrow. There are several heavy challenges unique to decentralized systems.&lt;/p>
&lt;h3 id="51-signature-size-bloat-and-the-collapse-of-scalability">5.1. Signature Size Bloat and the Collapse of Scalability
&lt;/h3>&lt;p>The biggest barrier to introducing PQC is the significant bloat in data size.
While the current ECDSA signature size is about 70 bytes, the lattice-based Dilithium (ML-DSA) has a signature size of about 2,420 to 4,595 bytes (depending on the security level), and a public key size exceeding 1,300 bytes. For the hash-based SPHINCS+, the signature alone reaches tens of thousands of bytes.&lt;/p>
&lt;p>If Bitcoin introduces PQC with the current block size limit (about 4MB weight including SegWit), the number of transactions that can be stored in one block will drastically decrease. Network throughput (TPS: Transactions Per Second) would fall devastatingly, and transaction congestion would become normal.
To solve this, a massive increase in block size is necessary, but this would increase the storage and network bandwidth requirements for full nodes, making it difficult for individuals to operate nodes, resulting in the dilemma of causing &lt;strong>centralization of the network&lt;/strong>.&lt;/p>
&lt;div class="mermaid">pie title "Comparison of Signature Data Sizes in Blockchain (Conceptual Diagram)"
"ECDSA (approx. 70 Bytes)" : 2
"Dilithium ML-DSA (approx. 2,500 Bytes)" : 58
"SPHINCS+ (approx. 17,000 Bytes)" : 40&lt;/div>
&lt;p>&lt;em>(Note: Transaction data bloat due to PQC introduction is a fatal bottleneck for scalability)&lt;/em>&lt;/p>
&lt;h3 id="52-impact-on-the-ethereum-virtual-machine-evm-and-precompiled-contracts">5.2. Impact on the Ethereum Virtual Machine (EVM) and Precompiled Contracts
&lt;/h3>&lt;p>In a Turing-complete smart contract platform like Ethereum, the introduction of PQC demands a fundamental upgrade to the EVM (Ethereum Virtual Machine).
In the current EVM, a precompiled contract &lt;code>ecrecover&lt;/code> (address: &lt;code>0x01&lt;/code>) is provided for ECDSA signature verification, optimized to perform signature verification at a very low gas cost (3000 Gas).&lt;/p>
&lt;p>However, the verification process of new lattice-based cryptographic algorithms like Dilithium and Falcon involves complex polynomial and matrix operations. Implementing this using only existing EVM Opcodes could consume millions to tens of millions of gas for just one signature verification. This is a level that would deplete the current block gas limit (about 30 million Gas) with a single transaction.&lt;/p>
&lt;p>To avoid this, it is necessary to incorporate a new Precompiled Contract for PQC verification (e.g., assigning DilithiumVerify to &lt;code>0x10&lt;/code>) into the EVM itself through a network hard fork. This requires a long-term process where core developers of each Ethereum client (Geth, Nethermind, Erigon, etc.) collaborate to optimally implement lattice cryptography verification logic at the language level (C++, Go, Rust, etc.) and conduct security audits.&lt;/p>
&lt;h3 id="53-difficulties-in-consensus-building-through-hard-forks">5.3. Difficulties in Consensus Building Through Hard Forks
&lt;/h3>&lt;p>Changing the underlying signature algorithm inherently requires a &lt;strong>Hard Fork&lt;/strong> that updates the entire network protocol. However, in communities like Bitcoin that emphasize &amp;ldquo;not changing rules, being decentralized,&amp;rdquo; the consensus-building process is politically very difficult. From the time a BIP (Bitcoin Improvement Proposal) for migrating to PQC is proposed until it is implemented, years of discussion and testing will be required.&lt;/p>
&lt;hr>
&lt;h2 id="6-when-will-q-day-arrive-a-roadmap-for-transition">6. When Will &amp;ldquo;Q-Day&amp;rdquo; Arrive? A Roadmap for Transition
&lt;/h2>&lt;p>When will &amp;ldquo;Q-Day (the day a quantum computer completely decrypts 256-bit elliptic curve cryptography)&amp;rdquo; arrive?
Although opinions are divided even among researchers, many experts predict that large-scale quantum computers with at least thousands to tens of thousands of stable logical qubits (error-corrected qubits with noise tolerance) will emerge &lt;strong>&amp;ldquo;from the mid-2030s to the 2040s.&amp;rdquo;&lt;/strong> However, depending on breakthroughs in hardware architecture or the discovery of more efficient quantum algorithms, the possibility of this arriving sooner (around 2030) cannot be ruled out.&lt;/p>
&lt;p>The roadmap the crypto asset ecosystem must take before it&amp;rsquo;s too late is as follows:&lt;/p>
&lt;h3 id="phase-1-hybrid-signatures-and-account-abstraction-present-to-around-2028">Phase 1: Hybrid Signatures and Account Abstraction (Present to around 2028)
&lt;/h3>&lt;p>The current blockchain scene, particularly Ethereum developers (like Vitalik Buterin), is considering &lt;strong>&amp;ldquo;Hybrid Signatures&amp;rdquo;&lt;/strong> that combine ECDSA and PQC (hash-based signatures or lattice cryptography). This approach attaches both the existing secure ECDSA signature and a PQC signature to a transaction, maintaining security even if one of them is broken.
Additionally, by utilizing Account Abstraction (ERC-4337), efforts are underway to implement and support PQC signatures on an opt-in basis (only for users who want it) on smart contract wallets without waiting for a protocol-level hard fork.&lt;/p>
&lt;h3 id="phase-2-utilizing-zero-knowledge-proofs-zk-rollups-2025-onwards">Phase 2: Utilizing Zero-Knowledge Proofs (ZK-Rollups) (2025 onwards)
&lt;/h3>&lt;p>The trump card expected to solve PQC&amp;rsquo;s biggest weakness, &amp;ldquo;signature data bloat,&amp;rdquo; is the utilization of &lt;strong>ZK-Rollups (Zero-Knowledge Proofs)&lt;/strong>, a Layer 2 technology.
Instead of writing massive PQC signature data directly to Layer 1 (the main chain), numerous PQC transactions are verified and aggregated on Layer 2. Then, using ZK-SNARKs or ZK-STARKs, they are compressed into a single extraordinarily small &amp;ldquo;Proof&amp;rdquo; and recorded on Layer 1.
Note that since some SNARKs configurations (like Groth16) are themselves vulnerable to quantum attacks, adopting &lt;strong>ZK-STARKs&lt;/strong>, which rely solely on quantum-resistant hash functions, is key.&lt;/p>
&lt;h3 id="phase-3-protocol-level-hard-forks-around-2030">Phase 3: Protocol-Level Hard Forks (Around 2030)
&lt;/h3>&lt;p>Once NIST&amp;rsquo;s PQC standardization is fully established, and industry-standard libraries are available and well-tested, it is expected that a hard fork completely transitioning the default signature scheme to PQC will be implemented on major chains like Bitcoin and Ethereum. During this transition period, a massive announcement urging users to &amp;ldquo;move funds from old wallets to new PQC-compatible wallets&amp;rdquo; will take place.&lt;/p>
&lt;h3 id="pioneering-project-examples">Pioneering Project Examples
&lt;/h3>&lt;p>Some blockchain projects have anticipated this quantum threat and have been developed with quantum resistance from their initial stages.&lt;/p>
&lt;ul>
&lt;li>&lt;strong>QRL (Quantum Resistant Ledger)&lt;/strong>: An early blockchain that natively implemented a hash-based PQC called XMSS (eXtended Merkle Signature Scheme) at the protocol level.&lt;/li>
&lt;li>&lt;strong>Algorand / Cellframe&lt;/strong>: A group of projects actively exploring the integration of lattice cryptography, possessing a flexible cryptographic layer modular architecture anticipating future PQC updates.&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="7-conclusion-the-future-of-crypto-assets-and-protecting-our-wealth">7. Conclusion: The Future of Crypto Assets and Protecting Our Wealth
&lt;/h2>&lt;p>The arrival of the &amp;ldquo;Post-Quantum Era&amp;rdquo; goes beyond mere science fiction fantasy; it is already looming before us as a concrete technical challenge to real-world cryptographic systems.&lt;/p>
&lt;p>The two swords of quantum computers, Shor&amp;rsquo;s algorithm and Grover&amp;rsquo;s algorithm, threaten public key cryptography and hash functions, respectively, which are the foundations of current blockchains. In particular, the vulnerability of ECDSA is fatal, and to avoid the risk of fund theft through front-running attacks, transitioning to Post-Quantum Cryptography (PQC) is an absolutely unavoidable path.&lt;/p>
&lt;p>However, the technology sector and blockchain community are not just twiddling their thumbs waiting for destruction. The selection and standardization of PQC algorithms like lattice cryptography and hash-based signatures are steadily progressing, and a path to overcoming PQC&amp;rsquo;s biggest hurdle, &amp;ldquo;data size bloat,&amp;rdquo; is beginning to emerge by utilizing Zero-Knowledge Proofs (ZK-STARKs) and Layer 2 scaling technologies.&lt;/p>
&lt;p>There is no need for everyday crypto asset users and investors to panic right now and sell all their funds. However, it is important to have the following basic literacy and sense of self-defense:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Avoid address reuse&lt;/strong>: Thoroughly avoid keeping funds long-term in &amp;ldquo;used addresses (addresses that have sent funds even once, exposing their public key on the blockchain)&amp;rdquo; from a security perspective, not just a privacy one.&lt;/li>
&lt;li>&lt;strong>Pay attention to technology trends&lt;/strong>: Keep an antenna up for discussions on major networks&amp;rsquo; PQC transitions and hard fork news (like Bitcoin&amp;rsquo;s BIPs and Ethereum&amp;rsquo;s EIPs), so that you can appropriately transition your wallet when necessary.&lt;/li>
&lt;/ul>
&lt;p>The history of blockchain is also a history of continuous upgrades and resilience against new technological threats. Just as it has overcome scalability issues and environmental problems (like the transition from PoW to PoS), the entire ecosystem will surely seek solutions and adapt to this unprecedented quantum threat.
We look forward to a future where the new human wisdom of quantum computers and the trusted technology of decentralized ledgers do not collapse through collision, but rather sublimate into a higher-dimension, robustly fused system.&lt;/p>
&lt;hr>
&lt;p>&lt;em>References &amp;amp; Related Links:&lt;/em>&lt;/p>
&lt;ul>
&lt;li>National Institute of Standards and Technology (NIST) - Post-Quantum Cryptography Standardization Project&lt;/li>
&lt;li>Shor, P. W. (1994). Algorithms for quantum computation: discrete logarithms and factoring.&lt;/li>
&lt;li>Grover, L. K. (1996). A fast quantum mechanical algorithm for database search.&lt;/li>
&lt;li>Buterin, V. (2024). How to hard-fork to save most users&amp;rsquo; funds in a quantum emergency.&lt;/li>
&lt;/ul></description></item></channel></rss>