Passwords and Auth
Credential hygiene, hashing, passkeys, MFA, and the arithmetic of guessing, with calculators and data.
Passwords and Auth is about the credentials themselves: how they are stored, how strong they can honestly be called, and what is replacing them. The three articles are written for the people who run a login page, and they work from NIST SP 800-63B, the WebAuthn specification and ATT&CK where those apply.
Start with how password hashing works: what a verifier stores instead of the password, why bcrypt, scrypt and Argon2 are slow on purpose, and why the salt is not a secret. Password entropy, honestly computed ships a calculator for the entropy of a generation method, works the guess-time arithmetic at four rates, and explains why a password a person chose cannot be scored. Passkeys explained shows why origin binding makes a passkey resistant to phishing, what synced and device-bound mean, and what changes on the server.
If you are deciding what to change on a login page, that order works: storage first, then strength, then passkeys. The attacks these defend against are explained in Attack and Defense, including the two ways a second factor fails, relay phishing and push bombing, in MFA that fails, which treats the approve button as the weak point it is and lists the settings that end repeated prompts. Planned next: a personal password audit against Have I Been Pwned's range API, with the code shipped, which will open the Defender Tooling section.
-
Password entropy, honestly computed, and what NIST 800-63B says
Entropy of a password generator, guess times at online rates and at hash rates we measured on one CPU, and why a chosen password cannot be scored.
-
Passkeys explained for people who run a login page
What a passkey is in WebAuthn terms, why origin binding makes it phishing-resistant, synced versus device-bound, and what changes on the server side.
-
How password hashing works: bcrypt, scrypt, Argon2, and the salt
What a verifier stores instead of your password, why bcrypt, scrypt and Argon2 are slow on purpose, and why the salt is not a secret.