← Fundamentals of Cryptography

Discrete log, step by step

Public keys from a different hard problem: Diffie–Hellman, how groups work, how discrete logs are attacked, and ElGamal

Fundamentals of Cryptography · Ali Huseynli, Teaching Assistant · AzTU Cybersecurity Department · Fall 2026

Prime p
g
Alice’s a
Bob’s b
Message m