n = p * q
.
The security of the system relies on the fact that
n
is hard to factor -- that
is, given a large number (even one which is known to have only two
prime factors) there is no easy way to discover what they are. This
is a well known mathematical fact. If a fast method of
factorisation is ever discovered then RSA will cease to be
useful.n
. To make this difficult, it's usually
recommended that p
and q
be
chosen so that n
is (in 2005 numbers) at least
1024 bits.XOR
s
and transpositions. Typical numbers are that DES is 100 times
faster than RSA on equivalent hardware. Furthermore, DES can be
easily implemented in dedicated hardware (RSA is, generally
speaking, a software-only technology) giving a speed improvement of
up to 10,000 times. Lecture 18: Encryption #2 -- Public Key Systems | Copyright © 2005 P.Scott, La Trobe University Bendigo. |