This repo name is self-explanatory. This software could encrypt and/or decrypt file(s). Look at below for more info on how to use this. DO NOT USE THIS FOR HIGH-SECURITY APPS AND I AM NOT RESPONSIBLE FOR ANY HARM CAUSED TO ANYONE OR ANYTHING BY USING THIS CODE. This is some beginner-level code but you can still post issues about this program.
-
First Run
KeyGen.py
-
It will ask you for a password. Enter a secure and memorable password. WARNING - IF YOU LOSE THIS PASSWORD YOU CAN NOT DECRYPT ANY FILES ENCRYPTED WITH PUBLIC KEY CORRESPONDING TO THIS PRIVATE KEY (TL;DR Don't loose your Private key password)
-
The code will generate two key pair files called
pr.pem
andpu.pem
-
pu.pem
is the unencrypted Public Key -
pr.pem
is the encrypted (using the password provided when running the script) Private Key
NOTES -
- Public key can be shared freely But Private key must be kept secret
.pem
files are standard in the security industry you can edit the code to change the program to output.txt
files too
- In the
inenc.txt
file type the content to be encrypted - Run
Enc.py
- Output will be in a file called
outenc.txt
encoded in Base64 for ease of sharing
- In the
indec.txt
file type the encrypted content (Copy -> Paste) - Run
Dec.py
- It will ask for a password. Provide the password you gave the program while generating the key pair using the
KeyGen.py
script - Output will be in the
outdec.txt
file
- Just put this repo link if you review or use reasonable amount of this code
- Star the project (Only if you like this project)
- Please ask for feature requests. I will try my best to add them