Cryptic is a cryptography project that encrypts and decrypts your files of all extensions (txt, js, png...) in AES-256 CBC Mode. Cryptic works with a password chosen by the user and with an initialization vector (IV) generated by the program.
git clone https://github.com/vishnu-git1524/Cryptic.git
cd Cryptic
pip install -r requirements.txt
Windows :
python Cryptic.py [-h] [-e] [-d] [-i] [-c]
Linux :
python3 Cryptic.py [-h] [-e] [-d] [-i] [-c]
The program creates a file 'AES_IV.txt' containing the initialization vector (IV) used for the AES encryption of THIS file (and only this file, a file encryption -> a new IV generated). The IV is a 128 byte block uses by AES-256 CBC Mode for encryption.
AES_IV.txt file :
- WARNING : If you decrypt your file with an incorrect password / IV, you will get errors and incorrect decryption.
To conclude, here is a table that resume the encryption and the decryption of 'test.txt' :
Original file content | Encrypted file content (with my password and my IV) | Decrypted file content |
---|---|---|
Hello world ! | ßCå2µ�Ä£Ë�ÅPð | Hello world ! |