Code Monkey home page Code Monkey logo

at90s8515 / aes-encryption-decryption Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tfretze/aes-encryption-decryption

0.0 1.0 0.0 102 KB

10 round AES encryption and decryption of a single plaintext block. Take as input a 128 bit plaintext block and a 128 bit key and produce as output a 128 bit ciphertext block, or a 128 bit ciphertext block and a 128 bit key and produce as output a 128 bit plaintext block.

C++ 98.33% Makefile 1.67%

aes-encryption-decryption's Introduction

AES Encryption/Decryption
Student Number: C3200070
Author: Tomas Fretze
How to compile and run: 

Program was created and compiled using GNU C++, i chose this as it was used for data structures last semester and i was more comfortable in this environment

Make file has been included in the Assignment folder. Program will need to be launched from a unix environment such as cygwin. 

The program will start by automatically opening the inputEncryption text file which contains the message and the key then encrypt the message and perform the avalanche analysis on the input. It will then write the result to the outputEncrypt text file.

The program will then perform the decrytion component. This invoves opening the inputDecryption text file which contains the ciphertext and the key then decrypts the ciphertext and writes the result to outputDecrypt.txt.

Code Structure:
MainAES.cpp is the main file used for running the higher level processess such as the encryption and decryption methods, avalanche anlaysis, reading and outputing to text files.

AdvancedEncrypt.h and .hpp contain the AdvancedEncrypt class and all the methods to perform encryption and decryption.

Lookup.h contains variable lookup tables that will be accessed by AdvancedEncrypt class

Executable: Ass2AES.exe

Sources:
https://www.samiam.org/ used for understanding how the various rounds could be implemented
https://www.youtube.com/watch?v=K2Xfm0-owS4 in depth implementation of AES

aes-encryption-decryption's People

Contributors

tfretze avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.