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.
- gcc
- Windows or Linux
- Reference here
sudo apt install build-essential
gcc main.c aes.c aes_const.c aes_block_mode.c -o main.exe
- click main.exe
gcc main.c aes.c aes_const.c aes_block_mode.c -o main.out
./main.out
If your IDE is Clion, you need to set your Working directory. Otherwise, program could not read the input file.
- click Run -> Edit Configurations
- set Working directory