RA2 Flashcards
value of Φ of any prime number
the number minus 1
for primes p&q, let N = pq. What is Φ(N)?
(p-1)(q-1)
Φ(a*b) =
Φ(a) * Φ(b)
conditions for choosing e (encryption key)
1 < e < Φ(N)
e must be coprime with N, Φ(N)
conditions for choosing d (decryption key)
any d such that:
(d*e) mod Φ(N) = 1
lecture definition of d
modular inverse of e (mod Φ(N))
youtube calculation of d
- Take various multiples of Φ(N)
- add 1 to each of these multiples
- choose whichever of these values which is evenly divisible by e
- d = the quotient from evenly dividing by e
Eulers Theorem
for any N, a which are relatively prime to one another, a^Φ(N) is congruent to 1 mod N
When do we know there is NOT an inverse for some A, B?
When the GCD is not 1.
When to use Φ(N) and N in RSA process?
N used in encryption and decryption of message.
Φ(N) used for calculating modular inverse
What is smallest value of e possible?
smallest number which is greater than 1 and coprime to Φ(N)