Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

43 lines (34 loc) · 1.12 KB

AES-encryption-decryption-tool

AES encryption and decryption tool for files

key size (64,48,32) hexadecimal characters

mode ECP

how to use :

python3 aes.py
usage: aes.py [-h] [-e] [-d] [-o] [-k]

AES tool using 128,192,256 key ECB mode

options:
  -h, --help       show this help message and exit
  -e , --encrypt   path to the file you want to encrypt
  -d , --decrypt   path to the file you want to decrypt
  -o , --output    path to where you want the output to be
  -k , --key       key 64,48,32 hexadecimal characters

encryption :

python3 aes.py -e test.jpg -o test2.jpg -k be6c0c9857d8a7a0afe468fe46a2141a6c8d13e2592dadad4200e2913c357587

output :

time to finish :  2.635785112

3

decryption :

python3 aes.py -d test2.jpg -o test3.jpg -k be6c0c9857d8a7a0afe468fe46a2141a6c8d13e2592dadad4200e2913c357587

output:

time to finish :  2.559194137

5