This project aims to implement well known AES - 128-bit encryption technique. Using this project, the user can encrypt audio, video, and text files with the help of a key provided by the user. The person can only decrypt the file or message if he knows the encryption key. After encryption, Nobody can open or decrypt it in between. This project uses the concept of Linear algebra concepts in a very efficient way. The message will be transformed into a matrix of 128 bits and encrypted using matrix transformation.
Advanced Encryption Standard (AES) algorithm is one of the most sophisticated block ciphers used worldwide. The report explains crucial steps of encryption and decryption of plaintext and any other file format such as .txt, .pdf, .docx, .pptx, .xlsx, .mp4, .flv,.mp3, with example in each process along with some of the changes in the methods.
Note: Ensure that you will never forget the password which you set for the login. Because without it you can’t decrypt your files in the future.
• First set the command line location as per your python project and then type the following command:
• As mentioned above you have to type the following command: “python main.py encrypt”
• Then you have to provide your login credentials for encrypting your text or image. The sample image of the login screen is below:
• Then you are able to see the main menu screen. Select your choice from the menu.
• If you choose the first option(Encrypt text) and once the string is encrypted you have to provide the filename to store your encryption string.
• If you choose the second option(Encrypt image) and once the image is encrypted you don’t have to provide the filename to store your encrypted image the code will automatically generate an encrypted image file as Filename_enc.
• As mentioned in the menu you have to type the following command: “python main.py decrypt”
• then you must the same login credentials as encryption. Otherwise, you are not able to decrypt the image.
• Then you are able to see the main menu screen. Select your choice from the menu.
• If you choose the first option(Decrypt text) and then you have to provide the Filename which you want to decrypt as below.
• If you choose the second option(Decrypt image) and then you have to provide encrypted Filename (Filename_enc).