Start index.py
Type in a number to select an action.
- Generate keys
- Encrypt text
- Decrypt codes list
- Close the program
To keep it simple, the RSA keys are represented as two ints each. (number1,number2)
To use a key, copy only the numbers seperated by a comma. Do not copy any empty spaces or other chars!
The codes list is a list of number sepereated by a comma. To encrypt a codes list copy only the numbers seperated by a comma. Do not copy any empty spaces or other chars!
- Type in a text.
- Paste in a public key. (Only copy the two numbers seperated by a comma! Do not copy any empty spaces!)
- Copy the codes (Only copy the numbers seperated by a comma! Do not copy any empty spaces!)
- Paste in the codes
- Past in your private key. (Only copy the two numbers seperated by a comma! Do not copy any empty spaces!)
- Receive the decrypted text!
Credits for the extended euclidian algorithm: https://www.geeksforgeeks.org/python-program-for-basic-and-extended-euclidean-algorithms-2/