insideout Get Pro

01 · What each primitive guarantees

Pro

Cryptography, lesson 1

What each primitive guarantees

Hashes, MACs, ciphers and signatures each promise one thing.

Computing Foundations put it in one line: encoding is for carrying data, hashing for checking it, encryption for hiding it. "Checking" turns out to be three different promises, and many crypto faults in real code come from asking one tool for another tool's promise. You'll match five jobs to the right tool, and learn to spot the wrong pick in a design.

Part of Pro

In this lesson
  1. One promise each
  2. The wrong pick, and what breaks
  3. Reading a design for promises

Cybersecurity comes with Pro: every lesson in every module.

Cryptography overviewSpotted a mistake? Tell us.