- This script can be used to encrypt and decrypt any file using AES algorithm.
- The password entered by the user is converted to 256 bit key using SHA256 hashing algorithm.
- The key is then used to generate an initialization vector(IV) and encrypt/decrypt a file.
- The project uses this cryptography library.
- Python 3.9.6+
- Dependencies from requirements.txt
- Clone this repository onto your system.
$ git clone https://github.com/thesarthakjain/aes-locker
- Then, install the packages from requirements.txt.
$ pip install -r requirements.txt
- Put a file you wanna encrypt/decrypt in the project directory.
- Run the following command in the project directory:
$ python locker.py