<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Math, Cryptography &amp; Quantum on kenji.blog</title><link>http://kenji.blog/en/categories/math-cryptography--quantum/</link><description>Recent content in Math, Cryptography &amp; Quantum on kenji.blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>kenjinote</copyright><lastBuildDate>Sat, 05 Sep 2026 02:09:08 +0900</lastBuildDate><atom:link href="http://kenji.blog/en/categories/math-cryptography--quantum/index.xml" rel="self" type="application/rss+xml"/><item><title>What is the "General Number Field Sieve (GNFS)", Humanity's Strongest Math that Breaks Internet Cryptography?</title><link>http://kenji.blog/en/p/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E3%81%AE%E6%9A%97%E5%8F%B7%E3%82%92%E7%A0%B4%E3%82%8B%E4%BA%BA%E9%A1%9E%E6%9C%80%E5%BC%B7%E3%81%AE%E6%95%B0%E5%AD%A6%E4%B8%80%E8%88%AC%E6%95%B0%E4%BD%93%E7%AF%A9%E6%B3%95gnfs%E3%81%A8%E3%81%AF/</link><pubDate>Sat, 05 Sep 2026 02:09:08 +0900</pubDate><guid>http://kenji.blog/en/p/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E3%81%AE%E6%9A%97%E5%8F%B7%E3%82%92%E7%A0%B4%E3%82%8B%E4%BA%BA%E9%A1%9E%E6%9C%80%E5%BC%B7%E3%81%AE%E6%95%B0%E5%AD%A6%E4%B8%80%E8%88%AC%E6%95%B0%E4%BD%93%E7%AF%A9%E6%B3%95gnfs%E3%81%A8%E3%81%AF/</guid><description>&lt;img src="http://kenji.blog/p/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%8D%E3%83%83%E3%83%88%E3%81%AE%E6%9A%97%E5%8F%B7%E3%82%92%E7%A0%B4%E3%82%8B%E4%BA%BA%E9%A1%9E%E6%9C%80%E5%BC%B7%E3%81%AE%E6%95%B0%E5%AD%A6%E4%B8%80%E8%88%AC%E6%95%B0%E4%BD%93%E7%AF%A9%E6%B3%95gnfs%E3%81%A8%E3%81%AF/gnfs_two_worlds_1788542142485.jpg" alt="Featured image of post What is the "General Number Field Sieve (GNFS)", Humanity's Strongest Math that Breaks Internet Cryptography?" />&lt;h1 id="what-is-the-general-number-field-sieve-gnfs-humanitys-strongest-math-that-breaks-internet-cryptography">What is the &amp;ldquo;General Number Field Sieve (GNFS)&amp;rdquo;, Humanity&amp;rsquo;s Strongest Math that Breaks Internet Cryptography?
&lt;/h1>&lt;p>The internet we use every day. LINE messages, YouTube, Amazon shopping—all communications are protected by &amp;ldquo;cryptography.&amp;rdquo;
Currently, the most widely used cryptography in the world is &amp;ldquo;RSA cryptography.&amp;rdquo;&lt;/p>
&lt;p>The cornerstone of RSA cryptography&amp;rsquo;s defense is very simple. It utilizes the mathematical property that &lt;strong>&amp;ldquo;factoring a gigantic number into primes cannot be solved even by computers.&amp;rdquo;&lt;/strong>
For example, for &amp;ldquo;15&amp;rdquo;, we immediately know it&amp;rsquo;s &amp;ldquo;3 × 5&amp;rdquo;, but the moment this becomes a &amp;ldquo;270-digit number&amp;rdquo;, even if we bundle all the supercomputers in the world, it would take hundreds of millions of years to solve.&lt;/p>
&lt;p>However, mathematicians do not stay silent either. To break this ironclad cryptography, humanity created a magical algorithm (calculation procedure) called the &lt;strong>&amp;ldquo;General Number Field Sieve (GNFS)&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;p>In this article, without using any specialized jargon, and only with knowledge of &lt;strong>junior high school math (prime factorization, algebraic expressions, greatest common divisor)&lt;/strong>, we will completely explain the mechanism step-by-step by which this &amp;ldquo;humanity&amp;rsquo;s strongest algorithm&amp;rdquo; breaks cryptography!&lt;/p>
&lt;hr>
&lt;h2 id="chapter-1-the-goal-of-decryption-is-a-junior-high-school-formula">Chapter 1: The Goal of Decryption is a &amp;ldquo;Junior High School Formula&amp;rdquo;
&lt;/h2>&lt;p>The ultimate special move to confront gigantic prime factorizations. It&amp;rsquo;s this formula learned in junior high school.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>$X^2 - Y^2 = (X + Y)(X - Y)$&lt;/strong>&lt;/p>
&lt;/blockquote>
&lt;p>You might think, &amp;ldquo;Eh, can such a basic formula break cryptography?&amp;rdquo; However, this is the master key that unlocks everything.&lt;/p>
&lt;p>The ultimate goal for breaking the cryptography is to find, for a gigantic number $N$,
&lt;strong>&amp;ldquo;Numbers ($X$ and $Y$) where the remainder of $X^2$ and $Y^2$ divided by $N$ are the same.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;h3 id="why-does-same-remainder-solve-the-cryptography">Why does &amp;ldquo;same remainder&amp;rdquo; solve the cryptography?
&lt;/h3>&lt;p>Suppose two numbers, $X^2$ and $Y^2$, have the &amp;ldquo;same remainder when divided by $N$.&amp;rdquo;
Having the same remainder means there is a rule that &lt;strong>the subtracted &amp;ldquo;$X^2 - Y^2$&amp;rdquo; will always be perfectly divisible by $N$ (it becomes a multiple of $N$)&lt;/strong>.&lt;/p>
&lt;p>Here, let&amp;rsquo;s say the gigantic number $N$ used for cryptography is made of the multiplication of two secret prime numbers ($p$ and $q$) ($N = p \times q$).&lt;/p>
&lt;p>Factoring $X^2 - Y^2$ results in &lt;strong>$(X - Y)(X + Y)$&lt;/strong>.
The fact that this is a multiple of $N$ means that somewhere in this multiplication, the secret primes $p$ and $q$ are hidden.&lt;/p>
&lt;p>Here a miracle occurs.
There is mathematically a &lt;strong>50% (1/2)&lt;/strong> probability that the two prime numbers $p$ and $q$ will naturally separate into different rooms, with &lt;strong>&amp;quot;$p$ going to the $(X - Y)$ room&amp;quot;&lt;/strong> and &lt;strong>&amp;quot;$q$ going to the $(X + Y)$ room&amp;quot;&lt;/strong>.&lt;/p>
&lt;p>With only the prime number $p$ in the $(X - Y)$ room, let&amp;rsquo;s calculate the &lt;strong>&amp;ldquo;Greatest Common Divisor (the largest common part)&amp;rdquo;&lt;/strong> of $(X - Y)$ and $N$.&lt;/p>
&lt;ul>
&lt;li>Contents of $(X - Y)$ = $p \times$ some number&lt;/li>
&lt;li>Contents of $N$ = $p \times q$
The only common part is &lt;strong>&amp;quot;$p$&amp;quot;&lt;/strong>!&lt;/li>
&lt;/ul>
&lt;p>In other words, the moment you calculate the greatest common divisor, the hidden prime number $p$ pops out, and the cryptography is completely decrypted. (*The greatest common divisor can be calculated instantly even on a smartphone using the &amp;ldquo;Euclidean Algorithm&amp;rdquo;.)&lt;/p>
&lt;p>&lt;strong>[A Little Column: Why squared? Why not cubed or doubled?]&lt;/strong>&lt;/p>
&lt;blockquote>
&lt;p>If it&amp;rsquo;s &amp;ldquo;$2X - 2Y$&amp;rdquo;, it becomes $2(X - Y)$, and since there&amp;rsquo;s only one room, you can&amp;rsquo;t separate the primes. If it&amp;rsquo;s &amp;ldquo;$X^3 - Y^3$&amp;rdquo;, the size of the rooms becomes unbalanced, making the calculations unnecessarily heavy. To separate the primes into two, &amp;ldquo;squaring&amp;rdquo;, which beautifully divides into two rooms, is the most cost-effective.&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="chapter-2-how-to-find-x-and-y-the-prime-card-collection-puzzle">Chapter 2: How to Find X and Y? The &amp;ldquo;Prime Card Collection Puzzle&amp;rdquo;
&lt;/h2>&lt;p>The goal is clear. However, if you blindly search for &amp;ldquo;$X^2$ and $Y^2$ that yield the same remainder&amp;rdquo;, you won&amp;rsquo;t find it until the end of the universe.
Therefore, mathematicians came up with a genius method called the &lt;strong>&amp;ldquo;Prime Card Collection Puzzle&amp;rdquo;&lt;/strong>.&lt;/p>
&lt;h3 id="step-1-collect-only-gold-dust-smooth-numbers-with-a-sieve">Step 1: Collect Only Gold Dust (Smooth Numbers) with a Sieve
&lt;/h3>&lt;p>First, prepare an appropriate number $Z$, square it, and calculate the remainder $W$ when divided by $N$.
(The world of remainders where $Z^2 = W$)&lt;/p>
&lt;p>Factorize the resulting remainder $W$. Here, only when a &lt;strong>&amp;quot;$W$ made only of small prime numbers like 2, 3, 5, 7&amp;quot;&lt;/strong> appears, you keep that equation as a &amp;ldquo;winning card&amp;rdquo;, and throw it away if large primes are mixed in.
It&amp;rsquo;s a task like discarding large stones with a sieve in a river and collecting only gold dust.&lt;/p>
&lt;h3 id="step-2-the-puzzle-of-making-everything-an-even-number">Step 2: The Puzzle of Making Everything an &amp;ldquo;Even Number&amp;rdquo;
&lt;/h3>&lt;p>For example, suppose the following three gold dust cards were collected.&lt;/p>
&lt;ul>
&lt;li>Card A: $Z_1^2 = 2^3 \times 3^1$&lt;/li>
&lt;li>Card B: $Z_2^2 = 2^1 \times 5^1$&lt;/li>
&lt;li>Card C: $Z_3^2 = 3^1 \times 5^1$&lt;/li>
&lt;/ul>
&lt;p>Let&amp;rsquo;s multiply all these together.
The right side becomes $(2^3 \times 3^1) \times (2^1 \times 5^1) \times (3^1 \times 5^1)$, and
when summarized and organized, it becomes &lt;strong>&amp;quot;$2^4 \times 3^2 \times 5^2$&amp;quot;&lt;/strong>.&lt;/p>
&lt;p>Amazingly, the number of prime numbers became &amp;ldquo;4, 2, 2&amp;rdquo;, which are &lt;strong>all even numbers&lt;/strong>!
Having all even numbers means that if you halve the count of everything, it becomes the &amp;ldquo;square of something.&amp;rdquo;
In other words, $(2^2 \times 3^1 \times 5^1)^2 = (60)^2$.&lt;/p>
&lt;p>The left side is $(Z_1 \times Z_2 \times Z_3)^2$, so with this, finally,
&lt;strong>$X = (Z_1 \times Z_2 \times Z_3)$&lt;/strong>
&lt;strong>$Y = 60$&lt;/strong>
The long-awaited &amp;ldquo;$X^2 = Y^2$&amp;rdquo; pair is completed!&lt;/p>
&lt;p>For computers, the puzzle of calculating whether the number of primes is &amp;ldquo;even or odd (0 or 1)&amp;rdquo; is something they are very good at, so with this method, they can find $X$ and $Y$ at high speed.&lt;/p>
&lt;hr>
&lt;h2 id="chapter-3-the-wall-of-despair-that-stands-in-the-way">Chapter 3: The Wall of Despair That Stands in the Way
&lt;/h2>&lt;p>Now any cryptography can be broken!&amp;hellip; Or so we thought, but a big problem arises.
If the cryptography number $N$ is up to about &amp;ldquo;100 digits&amp;rdquo;, it can be solved with this method (called the Quadratic Sieve), but when $N$ becomes &amp;ldquo;200 digits or 300 digits&amp;rdquo;, the $W$ that appears during the calculation becomes too huge.&lt;/p>
&lt;p>When the numbers get too huge, &amp;ldquo;numbers made only of small prime numbers (gold dust)&amp;rdquo; completely stop appearing. It becomes harder than searching for a contact lens in a desert, and you can&amp;rsquo;t collect the cards to solve the puzzle at all.&lt;/p>
&lt;p>Here finally, humanity&amp;rsquo;s ultimate weapon, the &lt;strong>&amp;ldquo;General Number Field Sieve (GNFS)&amp;rdquo;&lt;/strong>, makes its appearance.&lt;/p>
&lt;hr>
&lt;h2 id="chapter-4-humanitys-strongest-idea-creating-two-worlds">Chapter 4: Humanity&amp;rsquo;s Strongest Idea, Creating &amp;ldquo;Two Worlds&amp;rdquo;
&lt;/h2>&lt;p>The genius idea of GNFS is: &lt;strong>&amp;ldquo;Calculating only in the real world makes the numbers huge. So, let&amp;rsquo;s create a &amp;lsquo;hidden world&amp;rsquo; using polynomials (algebraic expressions) and split the weight of the calculation into two.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;h3 id="the-magic-of-algebraic-expressions">The Magic of Algebraic Expressions
&lt;/h3>&lt;p>GNFS converts the gigantic number $N$ into an algebraic expression using a base number $m$.
For example, if $N=100$, let $m=4$, so $100 = 4^3 + 2(4^2) + 4$.
This is turned into the expression (the hidden world) &lt;strong>$f(x) = x^3 + 2x^2 + x$&lt;/strong> using the letter $x$.&lt;/p>
&lt;p>The interesting thing about this expression is that it has the property: &lt;strong>&amp;ldquo;If you substitute $m$ (4 in the example above) for the letter $x$, you can always warp back to the real number $N$.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;h3 id="searching-for-gold-dust-in-two-worlds-simultaneously">Searching for Gold Dust in Two Worlds Simultaneously
&lt;/h3>&lt;p>GNFS creates many pairs of random integers $(a, b)$ and performs the following two calculations simultaneously.&lt;/p>
&lt;ol>
&lt;li>&lt;strong>Real World&lt;/strong>: $a - b \times m$&lt;/li>
&lt;li>&lt;strong>World of Algebraic Expressions&lt;/strong>: The value calculated by the rules of algebraic expressions for $a - b \times x$&lt;/li>
&lt;/ol>
&lt;p>By splitting the problem into two worlds, the size of the numbers handled becomes dramatically smaller (lighter). It&amp;rsquo;s the image of splitting a huge rock into two to make them easy-to-handle stones.&lt;/p>
&lt;p>Then, you sift and collect only the miracle pairs $(a, b)$ where &lt;strong>&amp;ldquo;Both in the real world and in the world of algebraic expressions, they are &amp;lsquo;made only of small prime numbers (gold dust)&amp;rsquo;&amp;rdquo;&lt;/strong>. This is the origin of the name &amp;ldquo;Number Field Sieve.&amp;rdquo;&lt;/p>
&lt;h3 id="the-moment-the-cryptography-is-finally-broken">The Moment the Cryptography is Finally Broken
&lt;/h3>&lt;p>Once tens of millions of &amp;ldquo;gold dust cards&amp;rdquo; are collected from both worlds, using the giant matrix calculations of supercomputers, you find the &amp;ldquo;combination where the number of prime numbers all become even&amp;rdquo;, just as we did in Chapter 2.&lt;/p>
&lt;p>Once the combination is found,&lt;/p>
&lt;ul>
&lt;li>Let the squared number made in the real world be &lt;strong>$X^2$&lt;/strong>&lt;/li>
&lt;li>Let the squared expression made in the world of algebraic expressions be &lt;strong>$Y(x)^2$&lt;/strong>&lt;/li>
&lt;/ul>
&lt;p>Finally, substitute $m$ into $x$ of $Y(x)$ in the world of algebraic expressions to warp to the real world and merge them.
Then, just like mathematical magic, a state where &lt;strong>&amp;ldquo;the remainders of $X^2$ and $Y^2$ are the same&amp;rdquo;&lt;/strong> is strictly completed!&lt;/p>
&lt;p>After that, just like in Chapter 1, if you calculate the greatest common divisor of $X - Y$ and $N$, the impregnable RSA cryptography collapses with a crash, and the secret primes reveal themselves.&lt;/p>
&lt;hr>
&lt;h2 id="conclusion-mathematics-never-ends">Conclusion: Mathematics Never Ends
&lt;/h2>&lt;p>You might have thought, &amp;ldquo;Alright, with GNFS, any cryptography can be broken!&amp;rdquo;
However, RSA cryptography is not giving up either. What is currently used on the internet is a monstrously huge number called &amp;ldquo;RSA-2048 (about 617 digits)&amp;rdquo;.&lt;/p>
&lt;p>Even though GNFS is humanity&amp;rsquo;s strongest algorithm, it is said that even to solve 270 digits (RSA-270), it would take thousands or tens of thousands of years even if all the computers in the world were connected. For now, our LINE and bank data are safe.&lt;/p>
&lt;p>But what if a &lt;strong>&amp;ldquo;magic that instantly finds $X$ and $Y$ for any gigantic number&amp;rdquo;&lt;/strong> appears?
Actually, the closest thing to that is the &lt;strong>&amp;ldquo;Quantum Computer (Shor&amp;rsquo;s Algorithm)&amp;rdquo;&lt;/strong> currently under development. It has been mathematically proven that by using the wave properties of quantum mechanics, one can ignore the tedious card collecting puzzle and draw the answer in one shot.&lt;/p>
&lt;p>The endless battle of wits between the people who make cryptography (defense) and the people who make algorithms to break it (attack).
When you learn that the &amp;ldquo;prime factorization&amp;rdquo; and &amp;ldquo;algebraic expressions&amp;rdquo; learned in junior high school are actually weapons fiercely fighting on the front lines of global security, doesn&amp;rsquo;t math class seem just a little bit more interesting?&lt;/p>
&lt;p>The person to discover the strongest algorithm of the future might just be you reading this article!&lt;/p>
&lt;hr>
&lt;p>&lt;em>(Note: This article conceptualizes the mathematical charm of cryptography decryption for junior high school students. Actual GNFS is strictly calculated using advanced university mathematics such as ideal class groups of algebraic number fields and homomorphisms.)&lt;/em>&lt;/p></description></item><item><title>Kerckhoffs's Principle</title><link>http://kenji.blog/en/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/</link><pubDate>Wed, 16 Apr 2025 23:53:08 +0900</pubDate><guid>http://kenji.blog/en/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/</guid><description>&lt;img src="http://kenji.blog/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/img_2.png" alt="Featured image of post Kerckhoffs's Principle" />&lt;h1 id="kerckhoffss-principle">Kerckhoffs&amp;rsquo;s Principle
&lt;/h1>&lt;hr>
&lt;p>Hello!&lt;/p>
&lt;p>Today, I’d like to talk about something a bit interesting and actually incredibly important called &amp;ldquo;Kerckhoffs&amp;rsquo;s Principle&amp;rdquo;.&lt;/p>
&lt;p>Ah, wait, wait.
Some of you might be thinking, &amp;ldquo;I&amp;rsquo;ve never heard of &amp;lsquo;Kerckhoffs&amp;rsquo;s Principle,&amp;rsquo; and there are already too many katakana words&amp;hellip;&amp;rdquo; Don&amp;rsquo;t worry. This article is exactly for you.&lt;/p>
&lt;hr>
&lt;h2 id="what-does-secure-cryptography-mean">What does &amp;ldquo;Secure Cryptography&amp;rdquo; mean?
&lt;/h2>&lt;p>For example, imagine someone telling you, &amp;ldquo;This safe can only be opened by someone who knows the secret way to open it.&amp;rdquo;&lt;/p>
&lt;p>At first glance, that sounds very secure, right?
But if you think about it closely, isn&amp;rsquo;t it a bit unsettling?&lt;/p>
&lt;p>Like, &amp;ldquo;If that secret leaks, isn&amp;rsquo;t it all over?&amp;rdquo;&lt;/p>
&lt;p>Actually, this is exactly why Kerckhoffs&amp;rsquo;s Principle comes into play.&lt;/p>
&lt;hr>
&lt;h2 id="what-exactly-is-kerckhoffss-principle">What exactly is &amp;ldquo;Kerckhoffs&amp;rsquo;s Principle&amp;rdquo;?
&lt;/h2>&lt;p>To put it very simply, it&amp;rsquo;s the idea that:&lt;/p>
&lt;p>&lt;strong>&amp;ldquo;A cryptographic system should be secure even if its inner workings become public knowledge.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>In other words, &amp;ldquo;Security should rely solely on the &amp;lsquo;secret key&amp;rsquo;, and it&amp;rsquo;s perfectly fine for the encryption method itself to be public!&amp;rdquo;&lt;/p>
&lt;p>Conversely, &amp;ldquo;A system that only relies on keeping the cryptographic algorithm (mechanism) a secret is considered to have low reliability.&amp;rdquo;&lt;/p>
&lt;hr>
&lt;h2 id="its-safe-because-the-mechanism-is-a-secret-might-be-a-bit-dangerous">&amp;ldquo;It&amp;rsquo;s safe because the mechanism is a secret&amp;rdquo; might be a bit dangerous
&lt;/h2>&lt;p>A common line of thought goes like this:&lt;/p>
&lt;blockquote>
&lt;p>&amp;ldquo;Nobody has seen the inside of this app, so the security is fine.&amp;rdquo;&lt;/p>
&lt;/blockquote>
&lt;p>I understand the sentiment.
But that&amp;rsquo;s basically the same as saying, &amp;ldquo;Nobody is looking, so nobody will find any flaws, so it must be fine.&amp;rdquo;&lt;/p>
&lt;p>In reality, the very fact that &amp;ldquo;nobody is looking&amp;rdquo; can become a risk in itself.&lt;/p>
&lt;hr>
&lt;h2 id="but-why-is-this-principle-so-important">But why is this principle so important?
&lt;/h2>&lt;p>The reason is, if someone manages to get their hands on the mechanism and can easily decrypt it, that encryption is compromised.&lt;/p>
&lt;p>To use an analogy, it&amp;rsquo;s like a door lock built with a super complex mechanism, but which can actually be opened with a spare key made at a dollar store.&lt;/p>
&lt;p>It&amp;rsquo;s not &amp;ldquo;It&amp;rsquo;s safe because the key is secret&amp;rdquo;, but rather &amp;ldquo;Even if you show the entire mechanism, it can&amp;rsquo;t be opened without the proper key&amp;rdquo; that is important.&lt;/p>
&lt;hr>
&lt;h2 id="the-feeling-of-but-isnt-that-kinda-scary">The feeling of &amp;ldquo;But isn&amp;rsquo;t that kinda scary?&amp;rdquo;
&lt;/h2>&lt;p>This is where many people feel:&lt;/p>
&lt;blockquote>
&lt;p>&amp;ldquo;Isn&amp;rsquo;t it kind of scary to expose the whole mechanism?&amp;rdquo;&lt;/p>
&lt;/blockquote>
&lt;p>I get it.
You can&amp;rsquo;t help but think, &amp;ldquo;If I show everything inside, won&amp;rsquo;t it be copied or misused?&amp;rdquo;&lt;/p>
&lt;p>But that is exactly the core of Kerckhoffs&amp;rsquo;s Principle.
The true security is the &amp;ldquo;strength that doesn&amp;rsquo;t collapse even if you show the inside&amp;rdquo;.&lt;/p>
&lt;hr>
&lt;h2 id="that-being-said-it-takes-a-little-courage-at-first">That being said, it takes a little courage at first
&lt;/h2>&lt;p>Putting yourself in the shoes of a developer, &amp;ldquo;Making the mechanism public = exposing weaknesses&amp;rdquo;, so of course, it&amp;rsquo;s nerve-wracking.&lt;/p>
&lt;p>But think about it.&lt;/p>
&lt;p>Something that says &amp;ldquo;Anyone is welcome to verify it&amp;rdquo; while properly showing the mechanism will ultimately be trusted more.&lt;/p>
&lt;p>It&amp;rsquo;s a lot like human relationships, isn&amp;rsquo;t it?&lt;/p>
&lt;p>&amp;ldquo;Someone who gets along with you after you&amp;rsquo;ve shown your true self&amp;rdquo; is, after all, the most comforting.&lt;/p>
&lt;hr>
&lt;h2 id="so">So
&lt;/h2>&lt;p>Kerckhoffs&amp;rsquo;s Principle might sound a bit theoretical, but its essence is very simple.&lt;/p>
&lt;p>It&amp;rsquo;s just about: &lt;strong>&amp;ldquo;Let&amp;rsquo;s build a mechanism that won&amp;rsquo;t break no matter who sees it.&amp;rdquo;&lt;/strong>&lt;/p>
&lt;p>Proper design over superficial secrets.
Code you aren&amp;rsquo;t ashamed to show, rather than code you want to hide from everyone.&lt;/p>
&lt;p>Perhaps this kind of &amp;ldquo;strength&amp;rdquo; is what will be increasingly sought after in the coming era.&lt;/p>
&lt;hr>
&lt;p>Thank you for reading!&lt;/p>
&lt;p>Security topics can be a bit difficult, but there are parts that connect to &amp;ldquo;human relationships&amp;rdquo; and a &amp;ldquo;sense of everyday security.&amp;rdquo;
Without feeling pressured, learning about it little by little will surely bring something good.&lt;/p>
&lt;hr>
&lt;p>&lt;img src="http://kenji.blog/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/img.png"
width="189"
height="282"
srcset="http://kenji.blog/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/img_hu715032b7fe5224f655ebb7d29b676305_77325_480x0_resize_box_3.png 480w, http://kenji.blog/p/%E3%82%B1%E3%83%AB%E3%82%AF%E3%83%9B%E3%83%95%E3%82%B9%E3%81%AE%E5%8E%9F%E7%90%86/img_hu715032b7fe5224f655ebb7d29b676305_77325_1024x0_resize_box_3.png 1024w"
loading="lazy"
alt="Auguste Kerckhoffs"
class="gallery-image"
data-flex-grow="67"
data-flex-basis="160px"
>&lt;/p></description></item></channel></rss>