17
Fun with p and q by Ilya Levin, Literatecode Approved for public release; distribution unlimited

Fun with p and q

Embed Size (px)

Citation preview

Page 1: Fun with p and q

Fun with p and qby Ilya Levin, Literatecode

Approved for public release; distribution unlimited

Page 2: Fun with p and q

N = pq 2 < p ≠ q

Page 3: Fun with p and q

0 < p < √ < q < N

0

N√p

q

Page 4: Fun with p and q

Not much funin “somewhere”

https://www.google.com/search?q=sad+mel+gibson+photo

Page 5: Fun with p and q

x2 mod N

Page 6: Fun with p and q

N + 1 h = ––––––

2

Page 7: Fun with p and q

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

1 4 9 16 4 15 7 1 18 16 16 18 1 7 15 4 16 9 4 1

√ h

N = 21

Page 8: Fun with p and q

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

1 4 9 16 4 15 7 1 18 16 16 18 1 7 15 4 16 9 4 1

√ b h d

N = 21

Page 9: Fun with p and q

b2 = b d2 = d

|b-d|2 = 1(mod N)

Page 10: Fun with p and q

b = xp d = yq

TOP SECRET//SI-VRK 16-5//LOL EYES ONLY//HIMOM

Page 11: Fun with p and q

THERE IS A SYMMETRY!

http://knowyourmeme.com/photos/239112-first-day-on-the-internet-kid

Δh,b ≡ Δd,h

Page 12: Fun with p and q

0123456789101112131415161718192021

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Page 13: Fun with p and q

0 N = 527 h = 264

b = 187

d = 341gcd(527,187) = 17 gcd(527, 341) = 31 527 = 17 × 31

Page 14: Fun with p and q
Page 15: Fun with p and q

N = 2046587

b = 984741 d = 1061847

p = gcd(d, N) = 929 q = gcd(b, N) = 2203

N = 133

b = 77 d = 57

p = gcd(b, N) = 7 q = gcd(d, N) = 19

Page 16: Fun with p and q

Instead of p and q, why don't we start looking for b and d ?

Page 17: Fun with p and q

Let the fun begin!

Braveheart