Update README.md

This commit is contained in:
P Gautam 2022-10-05 11:44:38 +05:30 committed by GitHub
parent 5697e4530b
commit fd67d263dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,12 @@
# RSA ENCRYPTION ALGO IMPLEMENTATION IN PYTHON # RSA ENCRYPTION ALGO IMPLEMENTATION IN PYTHON
-I've imported the rsa package. - I've imported the rsa package.
-It generates the public and private key. - It generates the public and private key.
-It then stores the keys in keys/privkey.pem and keys/publickey.pem. - 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 keys are then loaded to the program as publickey and privatekey.
-The inputed text or message is encrypted with the public key. - The inputed text or message is encrypted with the public key.
-Which then is put in the variable ciphertext. - Which then is put in the variable ciphertext.
-The private key is used to decrypt the message. - 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. - Here we also verify the signature of the message and the keys, whether they are signified or not.
![Uploading cipher.png…]()