This is a Python implementation of the RSA Algorithm. Made in Python 3.7.
Just for learning, we have how to code properly the implementation of RSA Algorithm in Python, and how to deal with a project. Help is always welcomed.
- Create a project on your personal GitHub.
- Upload the project with the local Bayer ssh-keys.
- Show the creation of the ssh-keygen and the classes.
- Show RSA-algoris.
- Show the features.
- Take two distinct, large primes
pandq. - Ideally these have a similar byte-length.
- Multiply
pandqand store the result inn. - Find the totient for
nusing the formula:𝜑(𝑛) = (𝑝−1)⋅(𝑞−1). - Take an
ecoprime that is greater, than 1 and less thann. - Find
dusing the formula𝑑⋅𝑒 ≡ 1 mod 𝜑(𝑛). - At this point, the pair (
e,n) is the public key and the private key (d,n) is the private key.
- Create a private and public keys.
- Messages Encryption
- Messages Decrypted
The project is licensed under the MIT license.