Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 1.5 KB

README.md

File metadata and controls

51 lines (45 loc) · 1.5 KB

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.