Basic HTML version of Foils prepared April 7 1998

Foil 42 Some Math behind RSA Algorithm -I

From Basic Principles of Java and Internet Security CPS616 Web Technologies -- Spring 98. by Geoffrey C. Fox


1 RSA stands for inventors: Rivest Shamir and Adleman
2 Take a number n = p * q where p and q are primes
3 Choose a "suitable" number e
4 Public key is <e,n> and basic encryption algorithm takes message m to be encrypted and forms
  • c = me mod(n)
5 Decryption involves private key d which is found so that
  • d * e = 1 mod((p-1)(q-1))
6 Then m = cd mod(n)
7 As factorization is computationally infeasible (for n of 512 bits in length or more), this encryption cannot be broken.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998