

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS 120/ E-177: Introduction to Cryptography
Salil Vadhan and Alon Rosen Oct. 17, 2006
Recommended Reading.
Fact 1 (Prime Number Theorem) #{primes ≤ x} ∼ (^) lnx x as x → ∞.
How do we sample a random n-bit prime number in time poly(n)?
Basic denitions:
Fact 2 (Extended Euclidean Algorithm) For any x, y ∈ N there exists two integers a, b such that ax + by = gcd(x, y). Moreover, such a and b can be found in polynomial time.
Denition of Z∗ N
Z∗ N def = {x ∈ ZN : gcd(x, N ) = 1} = elements of ZN with multiplicative inverses
By a multiplicative inverse for x we mean an element y ∈ ZN , denoted y = x−^1 , such that x · y ≡ 1 (mod N ). (the equality is proved using the Extended Euclidean Algorithm). Given N and x ∈ ZN , we can compute x−^1 in polynomial time.
Euler phi function
φ(N ) def = |Z N∗ |
Fact 3 φ(N ) = N ·
primes p|N
p
6loglogN
This lower bound means that we can generate random elements from Z∗ N in time poly(|N |) = poly(n): we pick a random element in ZN and compute its gcd with N. If the gcd is equal to 1 then we have found an element of Z∗ N. The probability of success is φ( NN )so the expected number of trials is Θ
N φ(N )
= O(loglogN ) = O(log ||N ||). Computing φ(N ) from N is as hard as factoring.
= id for all x ∈ G.
Corollary : ∀x ∈ Z∗ N , xφ(N^ )^ ≡ 1 (mod N )