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
- One promise each
- The wrong pick, and what breaks
- Reading a design for promises
Cybersecurity comes with Pro: every lesson in every module.
Cryptography overviewSpotted a mistake? Tell us.