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.
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 →