Diffie–Hellman key exchange

p = 23, g = 5, a = 6 → A = 8

You can also choose a level by clicking a star.

About the course

Description
The public key A = gᵃ mod p and the shared secret key s = Bᵃ mod p with small numbers
More information
Cryptography protects messages from unauthorized people. Classical ciphers work with the letters of the English alphabet A–Z.
Sample question
p = 23, g = 5, a = 6 → A = 8
Author
Jiří Preisler
Version
1.0