Tag

#authentication

4 articles tagged #authentication. See all tags →

Password Hashing: bcrypt vs Argon2id, and Why Fast Is a Bug
New
Tech9 min

Password Hashing: bcrypt vs Argon2id, and Why Fast Is a Bug

A password hash is the one function in your codebase you want to be slow. One RTX 4090 runs MD5 at 164 billion guesses a second and bcrypt at 184 thousand. Here are the parameters OWASP, RFC 9106 and NIST actually publish, and why memory cost is the setting that hurts an attacker most.

securitycryptographyargon2
OAuth Is Not a Login System. And as of 2.1 There Is Only One Flow.
Tech9 min

OAuth Is Not a Login System. And as of 2.1 There Is Only One Flow.

Two things would prevent most OAuth bugs. OAuth answers what a caller may access, not who they are, so using it to log people in is a category error. And the flow chart everyone agonized over has collapsed: authorization code plus PKCE, for every client type, no exceptions.

oauthoidcauthentication
If Your JWT Needs a Denylist, You Have Rebuilt Sessions With Extra Steps
Tech9 min

If Your JWT Needs a Denylist, You Have Rebuilt Sessions With Extra Steps

JWTs are the default choice for new apps and usually the wrong one. The reason is revocation: there is no row to delete. And the standard fix, a server-side denylist, reintroduces the database lookup that was the entire point of going stateless.

authenticationjwtsessions
What Is an API, Really
Tech8 min

What Is an API, Really

An API is the contract that lets one piece of software ask another for something without knowing how it works inside. Here is what that means, from the waiter analogy down to endpoints, JSON, keys, and rate limits, plus why APIs quietly run the whole economy.

apirestjson