



















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!




















Network
Encryption Decryption
Trap-door one-way function
Professional (NSA) vs. amateur (academic) approach to designing ciphers
Challenge published in Scientific American
Ciphertext:
Public key: N = 114381625757 88886766923577997614 661201021829672124236256256184293 570693524573389783059712356395870 5058989075147599290026879543541
e = 9007 ( 129 decimal digits )
Award 100 $
1977
RSA as a trap-door one-way function
N = P ⋅ Q P, Q - large prime numbers e ⋅ d ≡ 1 mod ((P-1)(Q-1))
RSA keys
{ e, N } (^) { d, P, Q }
N = P ⋅ Q
e ⋅ d ≡ 1 mod ((P-1)(Q-1))
P, Q - large prime numbers
Relatively prime with N: {1, 2, 3, …, P^2 -1} – {P, 2P, 3P, …, (P-1)P}
i=
t
Leonard Euler, 1707-
Euler’s Theorem - Justification (1)
R = {1, 3, 7, 9} R = {x 1 , x 2 , …, x^ ϕϕϕϕ (N) }
Let a=3 Let us choose arbitrary a, such that gcd(a, N) = 1
S = {a⋅x 1 mod N, a⋅x 2 mod N, …, a⋅x (^) ϕ(N)mod N}
S = { 3⋅1 mod 10, 3 ⋅3 mod 10, 3⋅7 mod 10, 3 ⋅9 mod 10 } = {3, 9, 1, 7} (^) = rearranged set R
Euler’s Theorem - Justification (2)
x 1 ⋅x 2 ⋅x 3 ⋅x 4 ≡ (a⋅x 1 )⋅ (a⋅x 2 )⋅(a⋅x 3 )⋅(a⋅x 4 ) mod N
x 1 ⋅x 2 ⋅x 3 ⋅x 4 ≡ a^4 ⋅ x 1 ⋅x 2 ⋅x 3 ⋅x 4 mod N
a^4 ≡ 1 (mod N)
∏ i=
ϕ(N) xi ≡^ ∏ i=
ϕ(N) a ⋅ xi (mod N)
∏ i=
ϕ(N) xi ≡^ aϕ(N)^ ⋅^ ∏ i=
ϕ(N) xi (mod N)
a ϕ(N)^ ≡ 1 (mod N)
Computer Museum, Mountain View, CA
Computer Museum, Mountain View, CA
Early records in factoring large numbers
Years
Number of decimal digits
Number of bits
Required computational power (in MIPS-years)
1974
1984
1991
1992
1993
45
71
100
110
120
149
235
332
365
398
7
75
830
How to factor for free? A. Lenstra & M. Manasse, 1989
Elements affecting the progress
in factoring large numbers
1977-1993 increase of about 1500 times
Internet
Factoring methods
QS - Quadratic Sieve
GNFS - General Number Field Sieve
ECM - Elliptic Curve Method
Time of factoring depends only on the size of N
Time of factoring is much shorter if N or factors of N are of the special form
Pollard’s p-1 method
Cyclotomic polynomial method
SNFS - Special Number Field Sieve
Continued Fraction Method (historical)
Running time of factoring algorithms
Lq[α, c] = exp ((c+ o (1))·(ln q)α·(ln ln q)1-^ α)
For αααα = Lq[0, c] = (ln q)(c+o(1))
Algorithm polynomial as a function of the number of bits of q
For αααα = Lq[1, c] = exp((c+ o (1))·(ln q))
Algorithm exponential as a function of the number of bits of q
For 0 < αααα < 1 Algorithm^ subexponential as a function of the number of bits of q
f (n) = o (1) if for any positive constant c >0 there exist a constant n 0 >0, such that 0 ≤ f (n) < c, for all n ≥ n 0
General purpose factoring methods
size of the factored number N in decimal digits (D)
QS more efficient
NFS more efficient
L N [1/2, 1] = exp ((1 + o (1))·(ln N )1/2^ ))·(ln ln N )1/2)
L N [1/3, 1.92] = exp ((1.92 + o (1))·(ln N )1/3^ ))·(ln ln N )2/3)
Factoring RSA-
J. Franke and T. Kleinjung Bonn University Max Planck Institute for Mathematics in Bonn Experimental Mathematics Institute in Essen
P. Montgomery and H. te Riele - CWI F. Bahr, D. Leclair, Paul Leyland and R. Wackerbarth
German Federal Agency for Information Technology Security (BIS)
TWINKLE
“The Weizmann INstitute Key Locating Engine”
Recommended key sizes for RSA
Old standard:
New standard:
Individual users
Individual users
Organizations (short term)
Organizations (long term)
512 bits (155 decimal digits)
768 bits (231 decimal digits)
1024 bits (308 decimal digits)
2048 bits (616 decimal digits)
Keylengths in public key cryptosystems that provide the same level of security as AES and other secret-key ciphers
Arjen K. Lenstra, Eric R. Verheul
„ Selecting Cryptographic Key Sizes ”
Journal of Cryptology
Arjen K. Lenstra „Unbelievable Security: Matching AES Security Using Public Key Systems ” ASIACRYPT’ 2001
year
Keylengths in RSA providing the same level of security as selected secret-key cryptosystems
March 2002, Financial Cryptography Conference
Nicko van Someren, CTO nCipher Inc. announced that his company developed software capable of breaking 512-bit RSA key within 6 weeks using computers available in a single office
Practical progress in factorization
Bernstein’s Machine (1)
http://cr.yp.to/papers.html#nfscircuit
costing $ 1 bilion is able to break 1024-bit RSA within several minuts
Bernstein’s Machine (2)