TechKnowSurge
ISC2 CC 5.1 CompTIA Security+ 1.4 Cisco CCST Cybersecurity 1.4
InteractiveSecurityFree

Algorithm or Protocol?

One at a time: is it an algorithm or a protocol? Land five in a row.

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

About this interactive

Cryptography works through algorithms, and secure communication works through protocols. The two words get confused because protocols are full of algorithms, so this drill gives you one item at a time and asks which it is. An algorithm is a specific set of steps or calculations that solves one problem: an input goes in, the process runs, an output comes out. In cryptography, encryption algorithms are called ciphers. AES and DES turn plaintext into ciphertext, RSA does the same with a key pair, and MD5 and SHA turn data into a fingerprint. The Caesar cipher from the first lesson is an algorithm too: look up the letter, write its replacement, repeat. A protocol is a standardized set of rules for communication. It says what format each side's messages take, in what order they are sent, how the two sides stay in step, and what each side should expect back. IPsec, the lesson's example, is a protocol for communicating securely. The link between them is the point of the lesson: a protocol chooses algorithms to carry out its work. IPsec can be assembled from several different ciphers, one for each part of its job, and every one of those ciphers is an algorithm. So when an item names AES inside IPsec, ask what the item is describing. The rules for the conversation are the protocol; the calculation that scrambles the data is the algorithm.

What you'll learn

Aligned to

ISC2 CC
5.1 Understand data security
CompTIA Security+
1.4 Explain the importance of using appropriate cryptographic solutions.
Cisco CCST Cybersecurity
1.4 Explain encryption methods and applications

Key terms

Protocol
A set of rules governing the format and transmission of data between devices.
Cipher
An algorithm used to encrypt and decrypt data.
Advanced Encryption Standard
AES
A symmetric encryption algorithm widely used to secure data, supporting key sizes of 128, 192, and 256 bits.
Secure Hash Algorithm
SHA
Secure Hash Algorithm is a family of cryptographic hash functions standardized by NIST, including SHA-1 (deprecated for most uses), SHA-256, and SHA-3, used for data integrity verification, digital signatures, and certificate validation.
RSA
An asymmetric encryption algorithm based on the difficulty of factoring large prime numbers, widely used for secure data transmission.
IPsec
A suite of protocols that authenticates and encrypts IP packets to provide secure communication over a network.

Topics

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 →