/RSA-Python

The RSA algorithm coded in Python

Primary LanguagePython

RSA-Python

The RSA algorithm coded in Python

Created in collaboration with Unnikrishnan Menon

RSA Algorithm

  • Pick two large primes
  • Compute and
  • Choose a public key such that and
  • Calculate such that
  • Let the message key be
  • **Encrypt: **
  • **Decrypt: **

image

And this is what a code says…. rsa

Note that you may have to setup an external dependency environment in some cases, it would create a big chunk of files that are not here due to exceeding the maximum number of files to upload.