Skip to content

kiro6/AES-encryption-decryption-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

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