python-scripts/scripts/RSA_algo_EtoE_Encryption/README.md

13 lines
645 B
Markdown
Raw Normal View History

2022-10-05 06:07:06 +00:00
# RSA ENCRYPTION ALGO IMPLEMENTATION IN PYTHON
2022-10-05 06:14:38 +00:00
- I've imported the rsa package.
- It generates the public and private key.
- It then stores the keys in keys/privkey.pem and keys/publickey.pem.
- The keys are then loaded to the program as publickey and privatekey.
- The inputed text or message is encrypted with the public key.
- Which then is put in the variable ciphertext.
- The private key is used to decrypt the message.
- Here we also verify the signature of the message and the keys, whether they are signified or not.
2022-10-05 06:07:06 +00:00
2022-10-05 06:18:45 +00:00
![cipher](https://user-images.githubusercontent.com/92343715/193993832-88f54d89-a54a-4c5e-979d-0c6e9f09960d.png)