Hashing vs Encryption vs Encoding
Security & Identity

Hashing vs Encryption vs Encoding

Subtitle: Three words. Three jobs.

Use it when - HASHING: passwords, file integrity, signatures

Use it when - ENCRYPTION: secrets in transit or at rest Use it when - ENCODING: binary in JSON, URLs, email

Sticky note - Common beginner mistake:

Base64 is not encryption. It hides nothing; anyone decodes it in one line. And never encrypt a password when you only need to verify it - hash it.