Below are some rough notes on mathematical cryptography - these are always in progress.

Key Issues

Factoring numbers intro prime factors is hard. The fastest known algorithms are exponential in the number of bits of the number.

Primality testing is easy.

This contrast allows secure encryption to exist.

Preliminaries:

Ring of Integers Mod m

Set of all units

Primitive Root Theorem


Public Key Cryptosystems:

Diffie Hellman introduces public key cryptosystems and therefore:


The Discrete Logarithm Problem:


Quantifying the “Hardness” of Discrete Logarithm Problem


The Chinese Remainder Theorem:


2.9 The Pohlig-Hellman Algorithm: