Beruflich Dokumente
Kultur Dokumente
cipher = e
K
(plain) = plain
e
mod n, and
plain = d
K
(cipher) = cipher
d
mod n
and let M = m
1
* m
2
* * m
r
x = a
i
(mod m
i
) (1 & i & r)
has a unique integer solution modulo M.
CS 330 Public Key Crypto 36
And this is useful, how?
Well, it turns out that you can compute X as
which is equivalent to
!
X = ((a
1
M
1
y
1
+ a
2
M
2
y
2
+ .... + a
r
M
r
y
r
)modm)
!
X = a
i
M
i
y
i
(mod M)
i=1
r
"
CS 330 Public Key Crypto 37
What the heck does that mean???
It means you can take a very large number
break it up into its prime factors
do an arithmetic computation modulo its prime factors
and then combine those answers and get an answer to the entire
computation modulo the very large number.
Well need this for some of the Public Key algorithms!
it means you can do arithmetic on very large numbers using
smaller numbers (say ones that will fit in the word size of your
computer) efficiently!