<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cryptography | Truong Tuan Nghia</title><link>https://tatcataittn.github.io/en/tags/cryptography/</link><atom:link href="https://tatcataittn.github.io/en/tags/cryptography/index.xml" rel="self" type="application/rss+xml"/><description>Cryptography</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 15 Jun 2026 00:00:00 +0000</lastBuildDate><image><url>https://tatcataittn.github.io/media/icon.svg</url><title>Cryptography</title><link>https://tatcataittn.github.io/en/tags/cryptography/</link></image><item><title>PQC vs. QKD: Two Lines of Defense Against Quantum Computers</title><link>https://tatcataittn.github.io/en/blog/pqc-vs-qkd/</link><pubDate>Mon, 15 Jun 2026 00:00:00 +0000</pubDate><guid>https://tatcataittn.github.io/en/blog/pqc-vs-qkd/</guid><description>&lt;p&gt;Facing the threat described in
, the security community has developed two defenses that differ in almost every respect: Post-Quantum Cryptography and Quantum Key Distribution. People often treat them as competing options, but they actually solve two different classes of problems.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;PQC&lt;/th&gt;
&lt;th&gt;QKD&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Layer&lt;/td&gt;
&lt;td&gt;Software&lt;/td&gt;
&lt;td&gt;Hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security basis&lt;/td&gt;
&lt;td&gt;A math problem hard even for quantum computers&lt;/td&gt;
&lt;td&gt;Laws of quantum physics&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security level&lt;/td&gt;
&lt;td&gt;Computational&lt;/td&gt;
&lt;td&gt;Information-theoretic, unconditional&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hardware required&lt;/td&gt;
&lt;td&gt;Existing CPUs and GPUs&lt;/td&gt;
&lt;td&gt;Single-photon sources, SPAD detectors, dedicated optical infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Available now&lt;/td&gt;
&lt;td&gt;Requires building new, more complex infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Standardized protocols&lt;/td&gt;
&lt;td&gt;NIST 2024: CRYSTALS-Kyber, CRYSTALS-Dilithium&lt;/td&gt;
&lt;td&gt;BB84, BBM92, CV-QKD&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="pqc-a-software-upgrade-on-infrastructure-you-already-have"&gt;PQC: a software upgrade on infrastructure you already have&lt;/h2&gt;
&lt;p&gt;Post-Quantum Cryptography is still classical: it runs entirely on ordinary CPUs and GPUs, but it is built around mathematical problems that even a quantum computer has no known efficient way to solve, lattice-based cryptography being the leading example. Its biggest advantage is that it can be deployed right now. No new physical infrastructure is needed, only a software update. In 2024, NIST officially standardized CRYSTALS-Kyber for key exchange and CRYSTALS-Dilithium for digital signatures, marking PQC&amp;rsquo;s move into practical deployment.&lt;/p&gt;
&lt;p&gt;Its weakness sits in the nature of computational security itself: it rests on the assumption that no one has yet found an algorithm to break it, not on an absolute proof. A future mathematical breakthrough or a new quantum algorithm could still weaken PQC, even though nothing of the sort has appeared so far.&lt;/p&gt;
&lt;h2 id="qkd-security-grounded-in-physics"&gt;QKD: security grounded in physics&lt;/h2&gt;
&lt;p&gt;QKD takes the opposite approach. Instead of encrypting data with a hard-to-solve algorithm, it uses the quantum state of photons themselves to distribute a key, and its security rests on physical law, specifically the no-cloning theorem and the nature of quantum measurement. That security holds regardless of how much computational power an attacker has, including a quantum computer decades from now. This is information-theoretic security, the strongest form of security that exists in theory.&lt;/p&gt;
&lt;p&gt;The trade-off is that QKD needs entirely new physical infrastructure: single-photon sources and detectors, high-precision optics, and, as I discuss in my posts on satellite FSO, extreme sensitivity to channel conditions like atmospheric loss and turbulence. Deploying QKD at scale is far more complex and costly than rolling out a PQC software update.&lt;/p&gt;
&lt;h2 id="not-one-or-the-other-but-both"&gt;Not one or the other, but both&lt;/h2&gt;
&lt;p&gt;The consensus among researchers today is not to pick a side, but to combine both. PQC is well suited to protecting broad, everyday infrastructure right away, things like email and web traffic. QKD is better suited to point-to-point links that demand extremely high, long-term-stable security, such as critical government, defense, and financial systems, or future quantum networks that need to carry actual quantum states rather than just classical key material.&lt;/p&gt;
&lt;p&gt;The paper I analyzed for my seminar,
, makes exactly this point: it focuses on QKD because its security is grounded in physics, without dismissing PQC&amp;rsquo;s role. The two are complementary, not mutually exclusive.&lt;/p&gt;</description></item><item><title>Why We Need Quantum-Safe Security Today, Not in 2030</title><link>https://tatcataittn.github.io/en/blog/quantum-threat-timeline/</link><pubDate>Fri, 12 Jun 2026 00:00:00 +0000</pubDate><guid>https://tatcataittn.github.io/en/blog/quantum-threat-timeline/</guid><description>&lt;p&gt;&amp;ldquo;Powerful quantum computers are still a decade away, why worry now?&amp;rdquo; I hear this reaction often when the topic of quantum threats to encryption comes up, and it is a fairly dangerous misunderstanding. The timeline below explains why.&lt;/p&gt;
&lt;h2 id="from-theory-to-a-real-threat"&gt;From theory to a real threat&lt;/h2&gt;
&lt;p&gt;The story starts in the 1980s, when Richard Feynman and David Deutsch laid the theoretical groundwork for quantum computation. The original idea was fairly simple: use a quantum system to simulate other quantum systems, a task classical computers handle very inefficiently.&lt;/p&gt;
&lt;p&gt;The real turning point came in 1994, with Shor&amp;rsquo;s algorithm. It proved, at least in theory, that a sufficiently powerful quantum computer could factor large integers in polynomial time, while a classical computer needs exponential time for the same task. This genuinely shook the cryptography community, because RSA&amp;rsquo;s security, along with many other public-key schemes, rests entirely on integer factorization being computationally hard.&lt;/p&gt;
&lt;p&gt;In 2019, Google announced Sycamore, demonstrating what is called quantum supremacy: completing a specific computation far faster than the most powerful classical supercomputer of the time. That computation had no practical use, but it was hardware proof that quantum computing was actually advancing, not just a theoretical exercise. Several industry and academic roadmaps now place 2030 to 2035 as the window in which quantum computers could have enough qubits and enough error correction to run Shor&amp;rsquo;s algorithm at a scale that breaks widely deployed RSA and ECC keys.&lt;/p&gt;
&lt;h2 id="what-rsa-and-aes-actually-depend-on"&gt;What RSA and AES actually depend on&lt;/h2&gt;
&lt;p&gt;Nearly all of today&amp;rsquo;s digital security, from HTTPS and VPNs to online banking and digital signatures, depends on the computational hardness of two problems: factoring large integers for RSA, and the discrete logarithm problem on elliptic curves for ECC. On a classical computer, both problems are practically unsolvable within any useful timeframe. Shor&amp;rsquo;s algorithm breaks precisely that assumption, not because RSA or ECC are weak, but because the underlying computational model changes entirely.&lt;/p&gt;
&lt;p&gt;AES, a symmetric cipher, is far less affected. Grover&amp;rsquo;s algorithm only speeds up brute-force search by a square root factor, so doubling the key length, using AES-256 instead of AES-128, is enough to compensate. RSA and ECC are where the real vulnerability sits.&lt;/p&gt;
&lt;h2 id="harvest-now-decrypt-later"&gt;Harvest now, decrypt later&lt;/h2&gt;
&lt;p&gt;This is why the quantum threat is not a distant problem. An attacker with resources, whether a nation-state or a well-funded organization, can harvest and store encrypted data right now, even without being able to read it, and simply wait until a quantum computer capable of decrypting it exists.&lt;/p&gt;
&lt;p&gt;This strategy is especially dangerous for data with long-term value: medical records, defense secrets, intellectual property, sensitive financial information. If a piece of data needs to stay protected for the next fifteen or twenty years, waiting until quantum computers actually arrive before taking action is already too late. Data harvested today may already be sitting in an attacker&amp;rsquo;s hands, waiting for its decryption day.&lt;/p&gt;
&lt;p&gt;This is the motivation behind two lines of defense being developed in parallel today: Post-Quantum Cryptography, which upgrades software on infrastructure that already exists, and Quantum Key Distribution, which builds security infrastructure grounded in physical law itself. I break down the differences and the complementary role of each in
.&lt;/p&gt;</description></item></channel></rss>