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: **
And this is what a code says….
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.