Inspiration
This challenge was one of my favorite challenge, because encryption decryption is one of the most on-demand skill. It inspire me to code to block hackers. That tag line was great: "If you wanna stop the hackers, then you have to be a hacking mind fist."
What it does
It first generates the symmetric key then it takes the text and encrypt the data. After that it decrypts the message by showing the encrypted message and decrypted message.
How we built it
Generate a Key- pip install cryptography Generate a symmetric key Save the key in a file
Encrypt File- 1) Read key from file 2) Read the data from file 3) Encrypt data 4) Save the encrypted file into a file
Decrypt File- 1) Read the key from file 2) Read the encrypted data from file 3) Encrypt Data
Challenges we ran into
1) "py .\encryptFile.py" command was not working because of one miss spell. "key" -> "keey" 2) "py .\decryptFile.py" command was not working because "f" was not defined, which is "f = Fernet(key)"
Accomplishments that we're proud of
It was a great Accomplishment, after completing such project.
What we learned
1) What is Fernet 2) How to encrypt the text file and generate it on the folder.
Built With
- key
- python
- txt
Log in or sign up for Devpost to join the conversation.