Algorithms

Spring 2013
course
navigation

May 2

Continue discussion of RSA algorithm.
algorithmic tricks in primes folder
And the basic number theory behind RSA :
Choose p, q (big) primes. Set n = p * q . Find e, d such that e and (p-1)(q-1) have no common factors. (Typically e is set to 65537.) e * d = 1 mod (p-1)(q-1). Then (e, n) are the public key. (d, n) are the private key. Then for each message 'word' m, the codeword c is c = m ** e mod n and it can be decoded via m = c ** d mod n
... hopefully Matt can discuss some pieces of this.

These crypto 'challenges' look interesting :
http://cs.marlboro.edu/ courses/ spring2013/algorithms/ notes/ May_2
last modified Thursday May 2 2013 10:50 am EDT