Python mathematics: random number calculation, GCD and exponents

  • Familiarize yourself with RSA algorithm and use it in practice (implement)

Use a single number to test the encryption/decryption (no need to go further in this exercise). If you wish to do this with python, use this template and implement missing parts. Run it with:

python ex5_template.py

Help (python):

An example answer as tar.gz

Last modified: 2014/02/12 11:19