Low Power Ajit Pal IIT Kharagpur 1
The RSA Cryptosystem
Debdeep Mukhopadhyay Assistant Professor Department of Computer Science and Engineering Indian Institute of Technology Kharagpur INDIA -721302
Objectives
- The RSA Cipher
- Quadratic Residues
Objectives The RSA Cipher Quadratic Residues Low Power Ajit Pal - - PDF document
The RSA Cryptosystem Debdeep Mukhopadhyay Assistant Professor Department of Computer Science and Engineering Indian Institute of Technology Kharagpur INDIA -721302 Objectives The RSA Cipher Quadratic Residues Low Power Ajit Pal
* 1 ( ) ( ) *
ab t n n t n n n
φ φ
+
( ) ( ) ( ) ( ) ( ) ( )
Thus, 1(mod ) 1(mod ) 1(mod ) 1(mod ) Thus, 1 , where k is a positive integer Multiplyin
q t q t q p t n t n
x q x q x q x q x kq
φ φ φ φ φ φ
≡ ⇒ ≡ ⇒ ≡ ⇒ ≡ = +
( ) 1 ( ) 1 ( ) 1
g both sides by , gcd( , ) ,for some positive integer (mod n) Similarly, we can prove when gcd(x,q)=q
t n t n t n ab
x x x kqx x p p x cp c x x kcpq x x x
φ φ φ + + +
= + = ⇒ = = + ⇒ ≡ ≡ Q
for which we need p and q
equivalent to factoring n. But there is no proof!
large of around 512 bits.
Note, that the QR forms a palindrome There are exactly (11-1)/2=5 QRs.
2 2 * 2 2
How many solutions are there to (mod ) for odd positive prime ? If, (mod ), then (- ) (mod ) Note, (mod ), as p is odd Thus, the quadratic congruence: 0(mod ) can be factored in
p
x a p p y a p y Z y a p y y p x a p ≡ ≡ ∈ ≡ ≡ − − ≡ to ( - )( ) 0(mod ) Since, is prime, | ( - ) or | ( ) Thus, (mod ) Thus, there are exactly two solutions of the congruence. x y x y p p p x y p x y x y p + ≡ + ≡ ±
( 1)/ 2
1(mod )
p
a p
−
≡ −
6278 9975 ⎛ ⎞ ⎜ ⎟ ⎝ ⎠
2 2 2