security/
Passwords, encryption, auth and the common attacks to avoid.
4 results
security/digital-signatures-how-a-message-proves-who-wrote-it-and-that-nobody-c.md
Digital signatures: how a message proves who wrote it and that nobody changed it
How can you tell that a message really came from who it says, and that nobody changed a word on the way? A digital signature does both with…
security/password-hashing-why-a-website-never-stores-your-password-and-what-a-s.md
Password hashing: why a website never stores your password, and what a salt changes
Websites should never store your password, only a hash made from it. But two users with the same password get the same hash, and a stolen…
security/two-factor-codes-how-your-phone-and-a-website-agree-on-6-digits.md
Two-factor codes: how your phone and a website agree on 6 digits
Your phone shows a 6-digit code that changes every 30 seconds, yet it never talks to the website. How do both sides agree on the number?…
security/how-websites-check-your-password-without-ever-storing-it.md
How websites check your password without ever storing it
A well-built website never saves your password. It saves a hash: a fixed-size fingerprint that's quick to compute and impossible to run…