insideout Get Pro

03 · Using encryption correctly

Pro

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
  1. What the mode adds
  2. Authenticated encryption and a nonce plan
  3. How many files one key may encrypt

Cybersecurity comes with Pro: every lesson in every module.

Cryptography overviewSpotted a mistake? Tell us.