Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

conflick0/AES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES

Information security homework, implement AES-128, AES-192 and AES-256 encryption/decryption.Furthermore, implement Block cipher mode of operation ECB, CBC, PCBC, CFB, OFB and CTR.

Installation

Requirements

  • gcc
  • Windows or Linux

Installing gcc on Windows or Linux

On Windows

On Linux

sudo apt install build-essential

Usage

On Windows

Compile

gcc main.c aes.c aes_const.c aes_block_mode.c -o main.exe

Execution

  • click main.exe

On Linux

Compile

gcc main.c aes.c aes_const.c aes_block_mode.c -o main.out

Execution

./main.out

Excution Result

Encryption

Decryption

Original file

Encryption File

Decryption File

Note

If your IDE is Clion, you need to set your Working directory. Otherwise, program could not read the input file.

  1. click Run -> Edit Configurations

  1. set Working directory

About

Information security homework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages