Intermediate1 h 45Free
Applied cryptography: encrypting, authenticating and exchanging keys
How do two phones that have never met agree on a secret key, in the middle of a network full of eavesdroppers? You discover how a small key produces a keystream, why ECB mode betrays images, how an HMAC prevents a message from being forged, then the Diffie-Hellman key exchange and the man-in-the-middle attack. You finish by assembling a complete encrypted messaging channel: key exchange, derivation, authenticated encryption and rejection of replayed messages.
Start the course
0 / 6 chapters completed
What you'll be able to do
- Explain the role of the key, the nonce and the mode in symmetric encryption
- Recognise ECB mode and nonce reuse as serious mistakes
- Authenticate a message with an HMAC and check it in constant time
- Carry out a Diffie-Hellman key exchange and explain the man-in-the-middle attack
- Assemble an encrypted and authenticated channel from standard building blocks
Course outline
Part 1 · Encrypting and authenticating