0% found this document useful (1 vote)
714 views3 pages

AES Encryption and Decryption Process

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
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
714 views3 pages

AES Encryption and Decryption Process

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
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • AES Encryption Process
  • AES Decryption Process
  • Scope Definitions

AES Encryption

Start

Read Input form plaintext


file ([Link])
(Hex)

Read keys form file


([Link])

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
([Link])
1. SubByte()
2. ShiftRows()
3. (MixCounds()
4. AddRoundKey()

Record / save
End
([Link])

AES Decryption
Start

Read Input form Ciphertext


file (ciphertext_dec.txt)
(Hex)

Read keys form file


([Link])

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
([Link])
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.

Start 
Read Input form plaintext 
file (plaintext.txt) 
(Hex)  
AES Encrypt
Start 
Read Input form Ciphertext 
file (ciphertext_dec.txt) 
(Hex)  
AES D
Scope: 
1. Block Cipher size is 512 bits. 
2. Keys size is 128 bits.

You might also like