Field notes
Hashing & cryptography
Digests, integrity checks, HMAC, password storage, and the difference between hashing, encryption, and encoding.
Hashing & crypto
Hashing vs Encryption: What a Digest Means
Understand digests, integrity checks, HMAC, and why a fast hash is not password storage.
Read guide Hashing & cryptoSHA-256, SHA-3, and HMAC: which hash for which job
The SHA-2 family, SHA-3, keyed authentication, and the jobs a plain digest should not be asked to do.
Read note Hashing & cryptoChecksums vs cryptographic hashes: what each one proves
A quick checksum catches accidents. A cryptographic hash can do more, but still needs a trusted reference.
Read note