mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
db9217b0cb
* Added an indepedent RSA library Added an indepedent RSA library with no depedences (adapted to communication) * Created README.md Created README.md * Update README.md * Added project to README.md Added project "Independent RSA Communication Algorithm" to README.md Co-authored-by: Ayush Bhardwaj <classicayush@gmail.com>
19 lines
907 B
Markdown
19 lines
907 B
Markdown
# RSA Communication Script
|
|
|
|
## How to use
|
|
To use this script you may first open the script :p
|
|
It will take some time, it will generate two BIG prime numbers, and that takes some time.
|
|
|
|
After it finnishes calculating your keypair, it will print it and ask you if you want to encrypt or decrypt a message.
|
|
|
|
---
|
|
|
|
If you want to encrypt, you write "e" and then press enter. The script will ask you for a key (keypair) to encrypt your message, and here you paste the keypair of your correspondant
|
|
(the string that shows up at his/her script start).
|
|
After you paste the keypair you will write your message, and when you press enter the encrypted message will be printed.
|
|
|
|
---
|
|
|
|
If you want to decrypt a message, you write "d" and the press enter. Then the script will ask you for the message to decrypt, wich you are going to paste and press enter.
|
|
After you press enter the decrypted message will be displayed :)
|