mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-27 14:01:12 +00:00
Update README.md
This commit is contained in:
parent
c763e086d5
commit
5697e4530b
|
@ -1,8 +1,11 @@
|
|||
# RSA ENCRYPTION ALGO IMPLEMENTATION IN PYTHON
|
||||
|
||||
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.
|
||||
-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.
|
||||
|
||||
![Uploading cipher.png…]()
|
||||
|
|
Loading…
Reference in New Issue
Block a user