Skip to content

I built this encryption script as an exercising in my computer security class. It was developed for educational purposes and not to actually be used in production. The app is fully functional and includes test shell scipts to compare to OpenSSL.

Notifications You must be signed in to change notification settings

Andrew-Wichmann/AESpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AESpy

I built this encryption script as an exercising in my computer security class. It was developed for educational purposes and not to actually be used in production. The Advanced Encryption Standard is a popular block cipher that encodes 128 bit blocks. It utilizes four functions:

  • SubByte
  • ShiftRows
  • MixCollumns
  • AddRoundKey

Each of these functions is implemented and works. This repoistory also comes with a shell script to test the advantages of using OpenSSL instead of manual implementation and to ensure accurate encryption by the Python script.

Example Usage

Setup

gedit message.txt

Encryption

  • Try the encyption
python client.py message.txt enc
  • To write into a file
python client.py message.txt enc > cypher.txt

Decryption

  • Try the decryption
python client.py cypher.txt dec

Comparing to OpenSSL

  • Create you message
gedit message.txt
  • Run the shell script to compare performance between OpenSSL and my implementation
./checkEnc.sh

Built with

Authors

License

This application is licensed under the MIT license.

About

I built this encryption script as an exercising in my computer security class. It was developed for educational purposes and not to actually be used in production. The app is fully functional and includes test shell scipts to compare to OpenSSL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published