This is an Open Source AES Standard encrytion tool.
AES stands for Advanced Encrption Standard. It is a symmetric-key algorithm, meaning the same key is used for both encrypting and decrypting the data.
AES encryption has three different block ciphers: AES-128 (128 bit), AES-192 (192 bit) and AES-256 (256 bit). These block ciphers are named after the key length they use for encryption and decryption. All these ciphers encrypt and decrypt the data in 128-bit blocks but they use different sizes of cryptographic keys.
A file (temp_key.txt) for storing the encryption key(s) for file(s)/folder(s) encrypted using the tool is automatically created in the current working directory.
Always make sure to backup the encryption key if not the files cannot be reverted back....!!!
To run the tool locally,
- Clone the repository. For instructions to clone the repo proceed here.
- Follow these steps on your OS
- On Linux : Open the terminal and make sure that the present working directory(folder) is the same as the directory containg the File_Encryptor.py file. Check this using the following command
pwd
It will display the path of the current working directory. To display the files/folders in the working directory use the command
ls
To execute the program file use the command :
python3 File_Encryptor.py
File encryption
A file named temp_key.txt is created. It stores the encryption key. Also the name of the encrypted file is changed to name.aes(use this file name for decryption).
File decryption
- Python3
It is preinstalled in Ubuntu 20.04. To check the version use command :
python3 --version
If it is not preinstalled for some reason, proceed here and download as per requirement.
- requirements.txt
Run the following command in terminal to download the required packags for running the tool locally :
pip install -r requirements.txt
- Fork the Project
- Create your Feature Branch (git checkout -b feature/aesEncryptionCode)
- Commit your Changes (git commit -m 'Add something')
- Push to the Branch (git push origin feature/aesEncryptionCode)
- Open a Pull Request
Follow the given commands or use the amazing GitHub GUI
Happy Contributing 😃