Skip to content

Using python language to encrypt data. The algorithm that we implemented in this project is AES (Advance Encryption Standard) using CBC Mode. We Do Double Encryption of which data will be encrypted on the data so that we get a more secure type of data. We are very happy that someone will make some improvements or use the main logic of our code >.<

License

Notifications You must be signed in to change notification settings

RyZal25/image-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

꒰⑅´˘`⑅꒱♡✩‧₊˚IMAGE ENCRYPTION˚₊‧✩♡꒰⑅´˘`⑅꒱"

Ilustration Project

Using python language to encrypt data. The algorithm that we implemented in this project is AES (Advance Encryption Standard) using CBC Mode. We Do Double Encryption of which data will be encrypted on the data so that we get a more secure type of data. We are very happy that someone will make some improvements or use the main logic of our code >.<

📝 NOTES:

  1. File formats supported are only .png, .jpg and .jpeg image extensions.
  2. Modify and adjust the storage path for the encryption and decryption results to match the local storage layout of the system you are building.
  3. Encryption, decryption and key results are saved in the specified default folder.
  4. The key must be well hidden so that others cannot decipher it
  5. The program can only process one image/file.enc at a time. So if you want to encode different images you have to change the source image periodically

🔌 SETUP

  1. Of course, you should clone this repo
git clone https://github.com/RyZal25/image-encryption.git
  1. Open editor that can open python file
  2. You should change the location in 'Image Encryption.py' file, depend of where you want to put the result
  3. Recommend to make separated folder for each result
  4. Before you running it, make sure the library (pycrypto & tkinter) installed
pip install pycryptodome
pip install tkinter
  1. Run the program with this command (the cli should inside the folder where 'Image Encryption.py' placed
python 'Image Encryption.py'

💡 STEP

Encryption step:

  1. Press the button to search for images
  2. Enter the name of the .enc file.
  3. Enter the name of the key TXT file
  4. If yes, click Encrypt. encrypt
  5. The .enc file will be saved in the Encryption Result folder and the key will be saved in the Key folder.

Step description:

  1. Find the desired .enc file and restore the original image
  2. Enter a name for the decrypted result (e.g. = "hasil.jpg") and make sure the file extension is the same as the original file (e.g. if original = .jpg then decrypt The resulting extension must also be .jpg). . )
  3. Enter the hidden key in key.py (Keys variable).
  4. Press "Decryption!!" when done.
  5. The image is saved in the "decryption result" folder

⚠️ REMARKS

Please note that this code cannot be directly executed as it requires additional environment setup and configuration. Therefore, please adjust the paths and other attributes mentioned in the guide according to your specific environment.

Here we have simplified the usage of our code and separated it into two forms: a CLI interface and a separate GUI version. These versions are located in different folders within our repository.

The program is still in development, so all kinds of changes, optimizations and fixes are expected If you have any suggestions or comments, please express them in a more modern code format.

thank you for using. Enjoy our program:

MAKE WITH ✨ FROM Group 33

🤓 Group 33 fellas :

About

Using python language to encrypt data. The algorithm that we implemented in this project is AES (Advance Encryption Standard) using CBC Mode. We Do Double Encryption of which data will be encrypted on the data so that we get a more secure type of data. We are very happy that someone will make some improvements or use the main logic of our code >.<

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages