<?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/tags/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 19:00:00 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/tags/blockchain/index.xml" rel="self" type="application/rss+xml"/><item><title>How Zero-Knowledge Proofs (ZKP) Work and Their Latest Applications in Web3 and Security</title><link>http://kenji.blog/en/p/zero-knowledge-proofs-zkp-web3-security/</link><pubDate>Fri, 11 Sep 2026 19:00:00 +0900</pubDate><guid>http://kenji.blog/en/p/zero-knowledge-proofs-zkp-web3-security/</guid><description>&lt;img src="http://kenji.blog/p/zero-knowledge-proofs-zkp-web3-security/img/eyecatch.jpg" alt="Featured image of post How Zero-Knowledge Proofs (ZKP) Work and Their Latest Applications in Web3 and Security" />&lt;h2 id="introduction">Introduction
&lt;/h2>&lt;p>In modern digital society, data privacy and scalability have become two of the most critical challenges. As the risks of personal information leaks and unauthorized use increase, there is a strong demand for technology that allows you to &amp;ldquo;prove that you have certain information without revealing the information itself to the other party.&amp;rdquo; This is realized by &lt;strong>Zero-Knowledge Proofs (ZKP)&lt;/strong>.&lt;/p>
&lt;p>Zero-Knowledge Proofs is a concept in cryptography first proposed in the 1980s by Shafi Goldwasser, Silvio Micali, and Charles Rackoff, but for a long time, it remained primarily a theoretical research topic. However, with the rise of blockchain technology and Web3, the situation completely changed. ZKP has suddenly been thrust into the spotlight as the &amp;ldquo;magic wand&amp;rdquo; that simultaneously solves the scalability problems (limits of processing capacity) and privacy problems (the fact that all transactions are public) faced by public blockchains like Ethereum.&lt;/p>
&lt;p>In this article, we will provide a highly detailed and technically deep explanation, ranging from the basic concepts of Zero-Knowledge Proofs to the profound mathematical and cryptographic mechanisms of the currently mainstream &lt;strong>zk-SNARKs&lt;/strong> and &lt;strong>zk-STARKs&lt;/strong>, and finally to the latest application examples in Web3 and security, such as ZK-Rollups and Decentralized Identity (DID).&lt;/p>
&lt;hr>
&lt;h2 id="what-is-a-zero-knowledge-proof-zkp">What is a Zero-Knowledge Proof (ZKP)?
&lt;/h2>&lt;p>A Zero-Knowledge Proof (ZKP) refers to a protocol in which a prover can prove to a verifier that a certain proposition is true, &amp;ldquo;without transmitting any information other than the fact that the proposition is true.&amp;rdquo;&lt;/p>
&lt;h3 id="the-3-requirements-for-zkp">The 3 Requirements for ZKP
&lt;/h3>&lt;p>To be established as a ZKP, the following three properties must be strictly satisfied:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Completeness&lt;/strong>
If the proposition is true, and both the prover and the verifier follow the protocol correctly, the verifier must accept the proof with an overwhelming probability.&lt;/li>
&lt;li>&lt;strong>Soundness&lt;/strong>
If the proposition is false, no matter how computationally powerful and malicious the prover is, it is impossible (except for a negligibly small probability) to deceive the verifier into accepting the proof.&lt;/li>
&lt;li>&lt;strong>Zero-Knowledge&lt;/strong>
If the proposition is true, the verifier cannot obtain any information from the proof process other than the fact that &amp;ldquo;the proposition is true.&amp;rdquo; From the verifier&amp;rsquo;s perspective, this is proven by the mathematical definition that it is possible to simulate the proof process (a simulator exists).&lt;/li>
&lt;/ol>
&lt;h3 id="interactive-and-non-interactive-proofs">Interactive and Non-Interactive Proofs
&lt;/h3>&lt;p>There are two types of ZKPs: &lt;strong>Interactive Proofs&lt;/strong>, where the prover and verifier communicate multiple times, and &lt;strong>Non-Interactive Proofs&lt;/strong>, where the prover sends the proof data only once.&lt;/p>
&lt;h4 id="interactive-zkp">Interactive ZKP
&lt;/h4>&lt;p>Early ZKPs were designed as interactive protocols. The famous &amp;ldquo;Ali Baba&amp;rsquo;s Cave&amp;rdquo; allegory falls under this category. The general flow of the protocol is as follows:&lt;/p>
&lt;div class="mermaid">sequenceDiagram
participant Prover as "Prover"
participant Verifier as "Verifier"
Note over Prover, Verifier: "Basic Flow of the Interactive Proof Protocol"
Prover->>Verifier: "1. Send Commitment"
Verifier->>Prover: "2. Send Random Challenge"
Prover->>Verifier: "3. Calculate and Send Response"
Note over Verifier: "Verify the Response"
Verifier-->>Prover: "4. Accept / Reject"
Note over Prover, Verifier: "* Repeat this dozens of times to increase certainty"&lt;/div>
&lt;p>This method is powerful, but the verifier must be online, making it inconvenient to apply to asynchronous distributed systems like blockchains. In a blockchain, anyone must be able to verify past proofs at any time.&lt;/p>
&lt;h4 id="fiat-shamir-heuristic-and-non-interactivity">Fiat-Shamir Heuristic and Non-Interactivity
&lt;/h4>&lt;p>A breakthrough technique for converting interactive proofs into Non-Interactive Zero-Knowledge Proofs (NIZK) is the &lt;strong>Fiat-Shamir Heuristic&lt;/strong>.&lt;/p>
&lt;p>Instead of the &amp;ldquo;random challenge&amp;rdquo; sent by the verifier, the prover self-generates a &amp;ldquo;pseudo-random challenge&amp;rdquo; using their own commitment and the hash value of public information. Assuming that a cryptographic hash function (such as SHA-256 or Keccak) functions as a random oracle, the prover cannot predict or manipulate the challenge in advance, allowing the proof to be completed with a single message transmission while maintaining the same level of security as an interactive proof.&lt;/p>
&lt;hr>
&lt;h2 id="technical-details-of-zk-snarks">Technical Details of zk-SNARKs
&lt;/h2>&lt;p>Currently, the most widely used ZKP is &lt;strong>zk-SNARKs&lt;/strong> (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge). As the name suggests, it is an Argument of Knowledge that has zero-knowledge properties (zk), features very small proof sizes and fast verification (Succinct), and is Non-Interactive.&lt;/p>
&lt;p>The foundation of zk-SNARKs is advanced algebraic geometry and cryptography. It converts the execution and computation of programs into the verification of specific polynomial equations.&lt;/p>
&lt;h3 id="1-conversion-to-arithmetic-circuits-and-r1cs-rank-1-constraint-system">1. Conversion to Arithmetic Circuits and R1CS (Rank-1 Constraint System)
&lt;/h3>&lt;p>First, any computation you want to prove (such as an algorithm or smart contract logic) is converted into an &lt;strong>Arithmetic Circuit&lt;/strong> consisting of addition and multiplication gates.&lt;/p>
&lt;p>Next, this arithmetic circuit is converted into a set of matrix equations called &lt;strong>R1CS (Rank-1 Constraint System)&lt;/strong>. R1CS is the problem of finding matrices $A, B, C$ that satisfy the following constraint for a variable vector $x$:&lt;/p>
$$ (A \cdot x) \circ (B \cdot x) = C \cdot x $$
&lt;p>Here, $\circ$ represents the Hadamard product (element-wise product). This constraint ensures that all logic gates (especially multiplication gates) in the circuit are calculated correctly.&lt;/p>
&lt;h3 id="2-conversion-to-qap-quadratic-arithmetic-program">2. Conversion to QAP (Quadratic Arithmetic Program)
&lt;/h3>&lt;p>Since there are countless R1CS matrix constraints, verifying them individually is highly inefficient. Therefore, Lagrange interpolation is used to compress these constraints into a single polynomial equation. This is the &lt;strong>QAP (Quadratic Arithmetic Program)&lt;/strong>.&lt;/p>
&lt;p>Through the conversion to QAP, the problem to be proven is reduced to the question: &amp;ldquo;Is a specific polynomial $P(x)$ divisible by another known polynomial $Z(x)$?&amp;rdquo;&lt;/p>
$$ P(x) = L(x) \cdot R(x) - O(x) $$
&lt;p>Here, $L(x), R(x), O(x)$ are combinations of polynomials corresponding to each row of matrices $A, B, C$, respectively. If the prover knows the correct solution (Witness), the value becomes 0 at each root (evaluation point) of $P(x)$, so $P(x)$ will have the target polynomial $Z(x)$ as a factor. In other words, there exists a polynomial $H(x)$ such that the following equation holds:&lt;/p>
$$ P(x) = H(x) \cdot Z(x) $$
&lt;p>The verifier only needs to check whether this equation $P(s) = H(s) \cdot Z(s)$ holds at a certain random secret point $s$ to instantly verify that the entire computation was performed correctly. This is the secret of its &amp;ldquo;Succinctness.&amp;rdquo;&lt;/p>
&lt;h3 id="3-elliptic-curve-cryptography-and-bilinear-pairings">3. Elliptic Curve Cryptography and Bilinear Pairings
&lt;/h3>&lt;p>However, if the verifier knows the secret point $s$, it would be possible for the prover to fabricate a fake polynomial to satisfy the equation (a collapse of soundness). Therefore, it is necessary to perform computations while keeping $s$ encrypted (using homomorphic encryption) so that no one knows it.&lt;/p>
&lt;p>This is achieved using &lt;strong>Bilinear Pairings&lt;/strong> on elliptic curves.
A pairing $e$ is a special function that can calculate a value equivalent to the encryption of the product of two encrypted values.&lt;/p>
$$ e(g_1^a, g_2^b) = e(g_1, g_2)^{ab} $$
&lt;p>Even without knowing $s$ itself, the prover calculates the encrypted values of the polynomials $P(s)$ and $H(s)$ using encrypted values of powers of $s$ (this is called the CRS: Common Reference String). The verifier uses the pairing function to verify whether the relationship $P(s) = H(s) \cdot Z(s)$ holds while the values remain encrypted.&lt;/p>
&lt;h3 id="4-trusted-setup">4. Trusted Setup
&lt;/h3>&lt;p>The biggest weakness of zk-SNARKs (especially early ones like Groth16) is that they require a process to generate the secret point $s$, known as a &lt;strong>Trusted Setup&lt;/strong>. If the creator of $s$ retains the value without destroying it, they can generate arbitrary fake proofs (the Toxic Waste problem).&lt;/p>
&lt;p>To prevent this, a ritual called a &amp;ldquo;Ceremony&amp;rdquo; is conducted using Multi-Party Computation (MPC). Numerous participants cooperate to provide randomness, and as long as at least one participant honestly destroys their random value, the security of the entire system is maintained. However, research to eliminate this dependency has been ongoing for many years.&lt;/p>
&lt;hr>
&lt;h2 id="technical-details-of-zk-starks">Technical Details of zk-STARKs
&lt;/h2>&lt;p>&lt;strong>zk-STARKs&lt;/strong> (Zero-Knowledge Scalable Transparent Argument of Knowledge) emerged as an answer to the reliance on trusted setups and the risk of elliptic curve cryptography being decrypted by quantum computers.&lt;/p>
&lt;p>Developed by Eli Ben-Sasson and others, STARKs feature no need for a trusted setup, living up to the name &amp;ldquo;Transparent,&amp;rdquo; and maintain efficient proof sizes and verification times even as the amount of computation increases, living up to the name &amp;ldquo;Scalable.&amp;rdquo;&lt;/p>
&lt;h3 id="1-polynomial-commitments-and-the-fri-protocol">1. Polynomial Commitments and the FRI Protocol
&lt;/h3>&lt;p>zk-STARKs base their security entirely on &lt;strong>hash functions&lt;/strong>, rather than elliptic curve cryptography. Therefore, they have the properties of Post-Quantum Cryptography.&lt;/p>
&lt;p>Computation verification is performed by utilizing the properties of one-dimensional or multi-dimensional polynomials after being converted into a format called AIR (Algebraic Intermediate Representation). The core of STARKs lies in the &lt;strong>FRI (Fast Reed-Solomon Interactive Oracle Proof of Proximity)&lt;/strong> protocol.&lt;/p>
&lt;p>The FRI protocol is a technique for verifying &amp;ldquo;whether a certain function is sufficiently close to a polynomial of a specific degree (Proximity).&amp;rdquo; The prover commits the polynomial&amp;rsquo;s values as leaves of a Merkle Tree (Polynomial Commitment).&lt;/p>
&lt;div class="mermaid">graph TD
Root["Merkle Root (Commitment)"] --> Node0["Node 0"]
Root --> Node1["Node 1"]
Node0 --> Leaf0["P(x_0)"]
Node0 --> Leaf1["P(x_1)"]
Node1 --> Leaf2["P(x_2)"]
Node1 --> Leaf3["P(x_3)"]&lt;/div>
&lt;p>The verifier requests the disclosure of several random points and uses Merkle proofs to confirm that they are included in the commitment. By repeating this recursively, it guarantees with overwhelming probability that the original polynomial actually has a low degree.&lt;/p>
&lt;h3 id="comparison-of-zk-snarks-and-zk-starks">Comparison of zk-SNARKs and zk-STARKs
&lt;/h3>&lt;table>
&lt;thead>
&lt;tr>
&lt;th style="text-align:left">Feature&lt;/th>
&lt;th style="text-align:left">zk-SNARKs&lt;/th>
&lt;th style="text-align:left">zk-STARKs&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Cryptographic Assumptions&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Elliptic curves, Pairings&lt;/td>
&lt;td style="text-align:left">Collision-resistant hash functions&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Trusted Setup&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Required (Universal for Plonk, etc.)&lt;/td>
&lt;td style="text-align:left">Not required (Transparent)&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Quantum Resistance&lt;/strong>&lt;/td>
&lt;td style="text-align:left">No&lt;/td>
&lt;td style="text-align:left">Yes&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Proof Size&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Very small (~200 Bytes)&lt;/td>
&lt;td style="text-align:left">Somewhat large (Tens of KB)&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Proof Generation Computational Cost&lt;/strong>&lt;/td>
&lt;td style="text-align:left">High&lt;/td>
&lt;td style="text-align:left">Relatively lower than SNARKs&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td style="text-align:left">&lt;strong>Verification Cost (Gas Fee)&lt;/strong>&lt;/td>
&lt;td style="text-align:left">Very low (Constant)&lt;/td>
&lt;td style="text-align:left">Low (Increases logarithmically)&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>In recent years, SNARKs that &amp;ldquo;do not require a trusted setup, or only require it once&amp;rdquo; like Plonk and Halo2 have appeared, and the boundary between SNARKs and STARKs is gradually blurring, but the fundamental difference in mathematical approaches remains important.&lt;/p>
&lt;hr>
&lt;h2 id="latest-applications-of-zero-knowledge-proofs-in-web3-and-security">Latest Applications of Zero-Knowledge Proofs in Web3 and Security
&lt;/h2>&lt;p>Having transitioned from theory to practice, ZKPs are now sparking a revolution at the forefront of Web3 and cybersecurity.&lt;/p>
&lt;h3 id="1-ultimate-scaling-of-ethereum-with-zk-rollups">1. Ultimate Scaling of Ethereum with ZK-Rollups
&lt;/h3>&lt;p>L1 (Layer 1) blockchains like Ethereum have significant constraints on scalability (the trilemma) due to their emphasis on decentralization and security. The definitive L2 (Layer 2) solution to solve this is &lt;strong>ZK-Rollups&lt;/strong>.&lt;/p>
&lt;p>In a ZK-Rollup, thousands of transactions are executed and processed off-chain (L2), generating a &amp;ldquo;single ZKP (Validity Proof)&amp;rdquo; indicating that they were all executed correctly. The smart contract on the L1 chain only needs to verify this proof.&lt;/p>
&lt;div class="mermaid">flowchart LR
Users["Users (Tx Submission)"] --> Sequencer["Sequencer (Tx Collection &amp; Execution)"]
Sequencer --> Prover["Prover (ZKP Generation)"]
Sequencer --> L1Contract["L1 Smart Contract (Tx Data Publication)"]
Prover --> L1Contract["ZKP (Proof) Submission"]
L1Contract --> Verify["Verification &amp; State Update"]&lt;/div>
&lt;p>The biggest advantage of ZK-Rollups is that, unlike Optimistic Rollups (such as Arbitrum and Optimism), they do not require a challenge period (typically 7 days) for Fraud Proofs. Because correctness is cryptographically guaranteed, fund withdrawals to L1 (Finality) are completed the moment the proof is verified. Currently, projects like zkSync, Starknet, Scroll, and Polygon zkEVM are engaged in fierce development competition, and the realization of &lt;strong>zkEVMs&lt;/strong>, which are compatible with the EVM (Ethereum Virtual Machine), is driving rapid ecosystem growth.&lt;/p>
&lt;h3 id="2-privacy-preserving-identity-zkp-for-identity">2. Privacy-Preserving Identity (ZKP for Identity)
&lt;/h3>&lt;p>The nature of personal authentication in the digital world will also be fundamentally changed by ZKPs.
For example, in response to the question, &amp;ldquo;Are you 18 or older?&amp;rdquo;, conventional systems required presenting a driver&amp;rsquo;s license or passport, handing over unnecessary personal information like name and address to the other party.&lt;/p>
&lt;p>By using ZKPs, based on a digital certificate (Verifiable Credential) issued by a public institution, it becomes possible to &lt;strong>mathematically prove only the fact&lt;/strong> that &amp;ldquo;calculated from my date of birth, I am 18 or older on the current date.&amp;rdquo; The verifier only needs to verify the certificate&amp;rsquo;s signature and the ZKP, without knowing the user&amp;rsquo;s date of birth or identity.&lt;/p>
&lt;p>Projects for Proof of Personhood like Worldcoin also incorporate a mechanism to prove only that one is a &amp;ldquo;unique human&amp;rdquo; using ZKPs, rather than storing and sharing iris data directly.&lt;/p>
&lt;h3 id="3-confidential-smart-contracts-and-enterprise-use">3. Confidential Smart Contracts and Enterprise Use
&lt;/h3>&lt;p>The property of public blockchains that &amp;ldquo;all data is public&amp;rdquo; has been a major barrier for companies handling confidential transactions and supply chain information on the blockchain.&lt;/p>
&lt;p>By using ZKP technology (such as privacy-focused networks like Aleo and Aztec), the input values, output values of transactions, and even the smart contract logic executed can be kept encrypted, while only the validity of state updates is etched onto the public chain. This makes it possible to prevent front-running (MEV) in DeFi (Decentralized Finance) and to build confidential consortium networks among enterprises, all while enjoying the high security of public chains.&lt;/p>
&lt;hr>
&lt;h2 id="future-challenges-and-prospects-for-zkp">Future Challenges and Prospects for ZKP
&lt;/h2>&lt;p>While ZKPs are undoubtedly a next-generation foundational technology, several challenges remain.&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Proof Generation Computational Costs and Hardware Acceleration&lt;/strong>
Generating a ZKP requires massive polynomial operations, FFT (Fast Fourier Transform), and MSM (Multi-Scalar Multiplication). Currently, research into dedicated hardware (FPGAs and ASICs) to accelerate this proof generation, known as &lt;strong>ZKP Mining&lt;/strong> (Prover Networks), is rapidly advancing.&lt;/li>
&lt;li>&lt;strong>Standardization and Improvement of Developer Experience (DX)&lt;/strong>
Dedicated languages for writing ZKP circuits, such as Circom, Cairo, Noir, and Leo, are proliferating. A standard unifying these and the maturation of compilers that automatically generate ZKP circuits from existing languages like Rust and C++ will be key to general software engineers adopting ZKPs.&lt;/li>
&lt;/ol>
&lt;h2 id="conclusion">Conclusion
&lt;/h2>&lt;p>Zero-Knowledge Proofs (ZKP) have evolved from merely a &amp;ldquo;technology to enhance cryptocurrency anonymity&amp;rdquo; to a &amp;ldquo;general-purpose technology redefining trust across the internet.&amp;rdquo; Small proofs calculated deep within mathematics and cryptography will infinitely scale blockchain capabilities and act as a strong shield protecting our privacy.&lt;/p>
&lt;p>Towards true mass adoption of Web3 and the construction of a secure and private next-generation internet, Zero-Knowledge Proofs will continue to function as the most crucial piece. We must keep a close eye on the future evolution of ZKP technology.&lt;/p>
&lt;hr>
&lt;p>&lt;em>References and Related Links&lt;/em>&lt;/p>
&lt;ul>
&lt;li>Groth, J. (2016). &amp;ldquo;On the Size of Pairing-based Non-interactive Arguments&amp;rdquo;&lt;/li>
&lt;li>Ben-Sasson, E., et al. (2018). &amp;ldquo;Scalable, transparent, and post-quantum secure computational integrity&amp;rdquo;&lt;/li>
&lt;li>Vitalik Buterin&amp;rsquo;s blog on zk-SNARKs and zk-STARKs&lt;/li>
&lt;/ul></description></item><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>