0% found this document useful (1 vote)
1K views

AES Algorithm Flow Chart

The document describes the AES encryption and decryption process. It involves reading plaintext and keys as hexadecimal, converting to binary, performing AES functions including subbyte, shiftrows, mixcolumns and addroundkey, converting the output back to hexadecimal, and saving the ciphertext or decrypted plaintext. The AES block cipher uses 128-bit keys and encrypts blocks of 512 bits.

Uploaded by

chernwei
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
1K views

AES Algorithm Flow Chart

The document describes the AES encryption and decryption process. It involves reading plaintext and keys as hexadecimal, converting to binary, performing AES functions including subbyte, shiftrows, mixcolumns and addroundkey, converting the output back to hexadecimal, and saving the ciphertext or decrypted plaintext. The AES block cipher uses 128-bit keys and encrypts blocks of 512 bits.

Uploaded by

chernwei
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

AES Encryption

Start

Read Input form plaintext


file (plaintext.txt)
(Hex)

Read keys form file


(keys.txt)

Convert Hex to Binary

Hex - 128 bits

AES Encryption Function


(1. SubByte() [s-box]
(2. ShiftRows()
(3. MixColumns()
(4. AddRoundKey(round)

Convert Binary to Hex

Record / save
(aesencryptrecord.txt)
1. SubByte()
2. ShiftRows()
3. (MixCounds()
4. AddRoundKey()

Record / save
End
(ciphertext.txt)

AES Decryption
Start

Read Input form Ciphertext


file (ciphertext_dec.txt)
(Hex)

Read keys form file


(keys.txt)

Convert Hex to Binary

Hex - 128 bits

AES Decryption Function


(5. SubByte() [s-box]
(6. ShiftRows()
(7. MixColumns()
(8. AddRoundKey(round)

Convert Binary to Hex

Record / save
(aesdecryptrecord.txt)
5. SubByte()
6. ShiftRows()
7. (MixCounds()
8. AddRoundKey()

Record / save
End
(plaintext_dec.txt)

Scope:
1. Block Cipher size is 512 bits.
2. Keys size is 128 bits.

You might also like