Skip to content

Latest commit

 

History

History
82 lines (35 loc) · 3.72 KB

README.md

File metadata and controls

82 lines (35 loc) · 3.72 KB

Complete-AES-Implementation

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.


Instruction to run the project:

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:

image

For Encryption process:

• As mentioned above you have to type the following command: “python main.py encrypt”

image

• Then you have to provide your login credentials for encrypting your text or image. The sample image of the login screen is below:

image

• Then you are able to see the main menu screen. Select your choice from the menu.

image

• 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.

image

• 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.

For Decryption process:

• As mentioned in the menu you have to type the following command: “python main.py decrypt”

image

• 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.

image

• If you choose the first option(Decrypt text) and then you have to provide the Filename which you want to decrypt as below.

image

• If you choose the second option(Decrypt image) and then you have to provide encrypted Filename (Filename_enc).

image