Ravi Sir's Cyber Security Cards › Comparison Cards
Hashing vs Encryption
Comparison card: Hashing vs Encryption. Easy English, with a real example. Scan the QR for the full lesson.

Read card text
What this card says
What each one is
Hashing: a one-way fingerprint; you cannot get the data back.
Encryption: two-way; the right key unlocks the data.
How they differ
Hashing checks integrity and stores passwords.
Encryption keeps data secret but readable with a key.
Example
Store passwords hashed with bcrypt.
Encrypt a disk with AES.
Use when
Need to verify, not read back: hashing.
Need to read it later: encryption.
Learn more in the lesson: 33.1 Goals and the Big Three: Encoding, Hashing, Encryption