TechKnowSurge
CompTIA Security+ 1.4
InteractiveSecurityFree

Hashing or Encryption?

Each card describes how a system handles data. Is it hashing or encryption? Land five in a row

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

What you are doing: deciding whether a described mechanism is hashing or encryption. Hashing runs one direction. A password goes through a one-way function into a fixed-length fingerprint, and there is no step that recovers the original from the fingerprint. A login is verified by running the typed password through the same function and comparing the two fingerprints, so the system can confirm a password without ever reading it. Encryption runs both directions. Data is scrambled and then unscrambled again by whoever holds the correct key, because the whole point is to recover the original later. If a key can return the data to its readable form, it is encryption, not hashing.

What you'll learn

Aligned to

CompTIA Security+
1.4 Explain the importance of using appropriate cryptographic solutions.

Key terms

Hash Function
A mathematical algorithm that converts input data of any size into a fixed-size output value used to verify data integrity.
Encryption
The process of converting readable data into an unreadable format using an algorithm and key to prevent unauthorized access.
Authentication
The process of verifying the identity of a user, device, or system.

Topics

Hash Function Encryption Authentication Interactive Streak Sort

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →