Cryptography, lesson 3
Using encryption correctly
Use authenticated encryption with fresh nonces, from a vetted library.
"Ciphers, keys and security levels" made the key strong enough; the code around it decides the rest. You'll review a file-encryption helper that checks nothing and reuses one starting value, rewrite it with authenticated encryption and a plan for its nonces, and work out how many files one key may encrypt.
Part of Pro
In this lesson
- What the mode adds
- Authenticated encryption and a nonce plan
- How many files one key may encrypt
Cybersecurity comes with Pro: every lesson in every module.
Cryptography overviewSpotted a mistake? Tell us.