Skip to content

VictorFranco/Mini-AES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-AES

This program is an implementation of the Mini-AES published in Cryptologia by Raphael Chung-Wei Phan in 2002.

Mini-AES has parameters significantly reduced while preserving its original structure. It is meant to be a purely educational cipher and is not secure for actual applications. Mini-AES encrypts files in blocks of 16 bits (2 bytes) and the secret key has the same size.

Encryption

gcc encrypt.c fun.c -o encrypt.out
./encrypt.out source.pdf encrypted_file

Decryption

gcc decrypt.c fun.c -o decrypt.out
./decrypt.out encrypted_file recovered_file.pdf

Compiler support

  • C99
  • C11
  • C17 or more

LICENSE

MIT