<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Password on ARPOKRAT</title>
    <link>https://arpokrat.com/blog/tags/password/</link>
    <description>Recent content in Password on ARPOKRAT</description>
    <generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 03 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://arpokrat.com/blog/tags/password/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Password and Entropy: The Science Behind Your Security</title>
      <link>https://arpokrat.com/blog/password-entropy-shannon-security/</link>
      <pubDate>Wed, 03 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://arpokrat.com/blog/password-entropy-shannon-security/</guid>
      <description>&lt;p&gt;« Your password must contain 8 characters, an uppercase letter, a lowercase letter, a number, and a special character. »&lt;/p&gt;
&lt;p&gt;We all know this rule. And yet, in cybersecurity, this is what we call &amp;ldquo;security theater.&amp;rdquo; A password like &lt;code&gt;P@ssw0rd1!&lt;/code&gt; complies with all these rules, but will be cracked in the blink of an eye by any modern hacking software.&lt;/p&gt;
&lt;p&gt;True security does not rely on arbitrary visual rules, but on an unforgiving mathematical reality: &lt;strong&gt;entropy&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;entropy-according-to-claude-shannon&#34;&gt;Entropy according to Claude Shannon&lt;/h2&gt;
&lt;p&gt;To understand the strength of a password, we must look to Claude Shannon, the father of information theory. Entropy measures the degree of uncertainty or unpredictability of information.&lt;/p&gt;
&lt;p&gt;Applied to passwords, entropy is calculated in &lt;strong&gt;bits&lt;/strong&gt;. The higher the number of bits, the more unpredictable the password is for a computer. The simplified formula for the entropy (E) of a randomly generated password is:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;E = L × log2(R)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;L&lt;/strong&gt; is the &lt;strong&gt;length&lt;/strong&gt; of the password.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;R&lt;/strong&gt; is the &lt;strong&gt;pool size&lt;/strong&gt; (26 for lowercase, 62 with uppercase and numbers, 94 with symbols).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Increasing the pool size (adding symbols) increases entropy, but increasing the length (adding characters) increases it much more drastically. &lt;strong&gt;However, length only beats complexity on one condition: the password must be generated completely randomly.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id=&#34;brute-force-vs-dictionary-attack&#34;&gt;Brute Force vs. Dictionary Attack&lt;/h2&gt;
&lt;p&gt;If you use words or predictable structures, the rule of pure length collapses.&lt;/p&gt;
&lt;p&gt;Hacking software does not try all letter combinations one by one (this is called &lt;strong&gt;Brute Force&lt;/strong&gt;). They use massive databases containing billions of existing words, common phrases, and past data leaks. This is the &lt;strong&gt;Dictionary Attack&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If your password is long, but composed of dictionary words or predictable substitutions, its actual entropy is dramatically lower than its theoretical mathematical entropy.&lt;/p&gt;
&lt;p&gt;Here are the estimated cracking times against a cluster of modern graphics cards (GPUs), highlighting the fastest route found by exploiting structural weaknesses in bold:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th style=&#34;text-align: left&#34;&gt;Password&lt;/th&gt;
					&lt;th style=&#34;text-align: left&#34;&gt;Theoretical Entropy&lt;/th&gt;
					&lt;th style=&#34;text-align: left&#34;&gt;Against Brute Force&lt;/th&gt;
					&lt;th style=&#34;text-align: left&#34;&gt;Against a Dictionary&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;password123&lt;/code&gt;&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;~15 bits&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;A few hours&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;strong&gt;Instantaneous&lt;/strong&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;S3cr3t!99&lt;/code&gt;&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;~40 bits&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;A few years&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;strong&gt;A few hours / days (via mutations)&lt;/strong&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;correct horse battery staple&lt;/code&gt;&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;~130 bits&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;Billions of years&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;strong&gt;A few hours / days&lt;/strong&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;gL7!pQ9z#vX2&lt;/code&gt;&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;~78 bits&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;&lt;strong&gt;~3,000 years&lt;/strong&gt;&lt;/td&gt;
					&lt;td style=&#34;text-align: left&#34;&gt;Failure (Back to brute force)&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;the-illusion-of-leetspeak-and-mutation-rules&#34;&gt;The Illusion of Leetspeak and Mutation Rules&lt;/h3&gt;
&lt;p&gt;Take the example &lt;code&gt;S3cr3t!99&lt;/code&gt;. Visually, it looks complex and robust. Yet, it is simply the dictionary word &amp;ldquo;secret&amp;rdquo;, where the &amp;rsquo;e&amp;rsquo;s have been replaced by &amp;lsquo;3&amp;rsquo;s, to which a very common suffix has been added (&lt;code&gt;!99&lt;/code&gt;). This is called &lt;strong&gt;leetspeak&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Against a dictionary attack, this password will only hold up for a few hours, or even minutes. Modern cracking software (like Hashcat) does not just test static word lists; they automatically apply &lt;strong&gt;mutation rules&lt;/strong&gt;. They will take every word in their dictionary, test all possible leetspeak combinations, swap uppercase letters, and append years or symbols. Leetspeak provides a false sense of security.&lt;/p&gt;
&lt;h2 id=&#34;the-keyboard-shift-trick&#34;&gt;The Keyboard Shift Trick&lt;/h2&gt;
&lt;p&gt;To complicate a memorable phrase, some use the keyboard layout shift trick. For example, you memorize a phrase like &lt;code&gt;my-cat&lt;/code&gt;. But when typing it, you place your fingers on a physical QWERTY keyboard while having your operating system configured to AZERTY (French).&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The intended word:&lt;/strong&gt; &lt;code&gt;my-cat&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The typed result:&lt;/strong&gt; &lt;code&gt;,y)cqt&lt;/code&gt; (The &amp;rsquo;m&amp;rsquo; key becomes &amp;lsquo;,&amp;rsquo;; the &amp;lsquo;-&amp;rsquo; becomes &amp;lsquo;)&amp;rsquo;; the &amp;lsquo;a&amp;rsquo; becomes &amp;lsquo;q&amp;rsquo;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Is this a good OPSEC idea? No, this method is not enough if used alone.&lt;/strong&gt; Just like with leetspeak, advanced cracking software integrates hardware mutation rules that automatically test international keyboard shifts (QWERTY, AZERTY, QWERTZ, Dvorak). In OPSEC, this is security by obscurity: it delays an amateur attacker, but will not stop a targeted and equipped attack.&lt;/p&gt;
&lt;p&gt;However, &lt;strong&gt;if this technique is coupled with a password that is already strong at its core&lt;/strong&gt; (like a very long memorable passphrase), it significantly increases the entropy again by introducing unexpected special characters within an already robust structure.&lt;/p&gt;
&lt;h2 id=&#34;constructing-the-ideal-password-250-bits&#34;&gt;Constructing the Ideal Password (~250 bits)&lt;/h2&gt;
&lt;p&gt;If word lists, leetspeak, and typing tricks have their limits, how do we build the perfect master password? To achieve &lt;strong&gt;optimal security&lt;/strong&gt; and resist next-generation computing tools, the current goal is to target around &lt;strong&gt;250 bits of entropy&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;There are two ways to achieve this depending on your needs:&lt;/p&gt;
&lt;h3 id=&#34;1-the-purely-random-option-ideal-for-a-password-manager&#34;&gt;1. The Purely Random Option (Ideal for a password manager)&lt;/h3&gt;
&lt;p&gt;A character string generated entirely randomly, making it extremely difficult for a machine to guess:
&lt;code&gt;k9$Yz2!pL#8vQx5@mN7*jW4&amp;amp;hC1%bF3^tR9(dZ6&lt;/code&gt;
&lt;em&gt;39 random characters using the entire symbol pool.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;2-the-hybrid-passphrase-option-ideal-for-a-memorable-master-password&#34;&gt;2. The Hybrid Passphrase Option (Ideal for a memorable master password)&lt;/h3&gt;
&lt;p&gt;A sequence of randomly generated dictionary words, strictly combined with numbers and symbols:
&lt;code&gt;Sovereign_Crypto_99_Privacy_Zero_Knowledge_Secure_2026_Key_Lock_Cloud_Act_Grover&lt;/code&gt;
&lt;em&gt;This method allows a human to memorize a structure visually or muscularly, while maintaining a gigantic mathematical barrier.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-quantum-threat-grovers-algorithm&#34;&gt;The Quantum Threat: Grover&amp;rsquo;s Algorithm&lt;/h2&gt;
&lt;p&gt;Why aim for 250 bits when 128 bits already block today&amp;rsquo;s supercomputers? The answer lies in the advent of quantum computing.&lt;/p&gt;
&lt;p&gt;In cryptography, Grover&amp;rsquo;s algorithm allows a quantum computer to search an unsorted database much faster than a classical computer. Concretely, Grover &lt;strong&gt;effectively halves the security level&lt;/strong&gt; of a symmetric key or a password.&lt;/p&gt;
&lt;p&gt;Against a quantum computer running Grover&amp;rsquo;s algorithm, a password with an entropy of 128 bits will only offer a resistance equivalent to 64 bits (which becomes crackable).&lt;/p&gt;
&lt;p&gt;Consequently, to maintain true 128-bit security in a post-quantum world, it is necessary to double the initial entropy. This is one of the pillars of the &lt;a href=&#34;https://arpokrat.com/blog/harvest-now-decrypt-later-hndl-zero-knowledge/&#34;&gt;Harvest Now, Decrypt Later (HNDL)&lt;/a&gt; concept: state attackers vacuum up encrypted data today to break it tomorrow. Aiming for 250 bits of entropy is the minimum standard to protect your master keys in the long term.&lt;/p&gt;
&lt;h2 id=&#34;arpokrat-password-generator-test-it-yourself&#34;&gt;Arpokrat Password Generator: Test it yourself&lt;/h2&gt;
&lt;p&gt;Do not leave the security of your access to chance. We have developed an internal tool that allows you to generate cryptographically robust passwords (including post-quantum), and above all to &lt;strong&gt;evaluate the real entropy&lt;/strong&gt; of your own passwords.&lt;/p&gt;
&lt;p&gt;👉 &lt;strong&gt;&lt;a href=&#34;https://arpokrat.com/password-generator&#34;&gt;Arpokrat Password Generator&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Test your current passwords to see if they would withstand modern computing power. The tool works 100% locally in your browser, no data is circulated on the network.&lt;/p&gt;
&lt;h2 id=&#34;the-final-weak-link-recycling-and-access-management&#34;&gt;The Final Weak Link: Recycling and Access Management&lt;/h2&gt;
&lt;p&gt;Mathematical entropy does not protect against human error. A 250-bit password is useless if it is reused on multiple sites (an attack called &lt;em&gt;Credential Stuffing&lt;/em&gt;) or if it is not protected by a second authentication factor (2FA).&lt;/p&gt;
&lt;p&gt;The golden rule of digital hygiene is to only have to remember &lt;strong&gt;one single password&lt;/strong&gt;: your 250-bit master password (in the form of a hybrid passphrase). All your other accesses (bank, social networks, servers) must use unique passwords of 250 bits of pure entropy (the random character strings) generated specifically for them.&lt;/p&gt;
&lt;p&gt;To store and manage this volume of keys impossible to remember in your head, the use of a &lt;strong&gt;Zero-Knowledge password manager&lt;/strong&gt; is essential. One of the best current standards is &lt;strong&gt;&lt;a href=&#34;https://proton.me/pass&#34;&gt;Proton Pass&lt;/a&gt;&lt;/strong&gt;. Based in Switzerland, open-source and end-to-end encrypted, it guarantees that even its own engineers cannot read the contents of your vault. It is the ideal companion to store the ultra-powerful keys generated by Arpokrat, locking your entire digital life behind a true mathematical barrier.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>