Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

The idea behind the Diffie-Hellman algorithm

Chris Hughes explains how Alice and Bob can use modular arithmetic to safely share a secret, even in the presence of eavesdroppers.

A worked example of how the Diffie-Hellman key exchange works.

Check the calculations as Chris talks you through the example. Did you manage to successfully follow all of the steps?

This article is from the free online

The Mathematics of Cryptography: From Ancient Rome to a Quantum Future

Created by
FutureLearn - Learning For Life