Advanced Encryption Standard (AES) Encryption Process for 128 bits key




Enter the Plaintext to be encrypted (in ASCII):

or

Enter the Plaintext to be encrypted (in hexadecimal charecters):

-----------------------------------------------------------------------

Enter the Key for the encryption (in ASCII):

or

Enter the Key for the encryption (in hexadecimal characters):

Key Schedule
Key Inputs in ASCII
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Key Inputs in hexadecimal
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
w(0) w(1) w(2) w(3)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Round # RotWord(1) SubWord(1) ^ Rcon(1) Constant
1 0 0 0 0 0 0 0 0 6 3 6 3 6 3 6 3 6 2 6 3 6 3 6 3 01
w(4) w(5) w(6) w(7)
6 2 6 3 6 3 6 3 6 2 6 3 6 3 6 3 6 2 6 3 6 3 6 3 6 2 6 3 6 3 6 3
Round # RotWord(2) SubWord(2) ^ Rcon(2) Constant
2 6 3 6 3 6 3 6 2 F B F B F B A A F 9 F B F B A A 02
w(8) w(9) w(10) w(11)
9 B 9 8 9 8 C 9 F 9 F B F B A A 9 B 9 8 9 8 C 9 F 9 F B F B A A
Round # RotWord(3) SubWord(3) ^ Rcon(3) Constant
3 F B F B A A F 9 0 F 0 F A C 9 9 0 B 0 F A C 9 9 04
w(12) w(13) w(14) w(15)
9 0 9 7 3 4 5 0 6 9 6 C C F F A F 2 F 4 5 7 3 3 0 B 0 F A C 9 9
Round # RotWord(4) SubWord(4) ^ Rcon(4) Constant
4 0 F A C 9 9 0 B 7 6 9 1 E E 2 B 7 E 9 1 E E 2 B 08
w(16) w(17) w(18) w(19)
E E 0 6 D A 7 B 8 7 6 A 1 5 8 1 7 5 9 E 4 2 B 2 7 E 9 1 E E 2 B
Round # RotWord(5) SubWord(5) ^ Rcon(5) Constant
5 9 1 E E 2 B 7 E 8 1 2 8 F 1 F 3 9 1 2 8 F 1 F 3 10
w(20) w(21) w(22) w(23)
7 F 2 E 2 B 8 8 F 8 4 4 3 E 0 9 8 D D A 7 C B B F 3 4 B 9 2 9 0
Round # RotWord(6) SubWord(6) ^ Rcon(6) Constant
6 4 B 9 2 9 0 F 3 B 3 4 F 6 0 0 D 9 3 4 F 6 0 0 D 20
w(24) w(25) w(26) w(27)
E C 6 1 4 B 8 5 1 4 2 5 7 5 8 C 9 9 F F 0 9 3 7 6 A B 4 9 B A 7
Round # RotWord(7) SubWord(7) ^ Rcon(7) Constant
7 B 4 9 B A 7 6 A 8 D 1 4 5 C 0 2 C D 1 4 5 C 0 2 40
w(28) w(29) w(30) w(31)
2 1 7 5 1 7 8 7 3 5 5 0 6 2 0 B A C A F 6 B 3 C C 6 1 B F 0 9 B
Round # RotWord(8) SubWord(8) ^ Rcon(8) Constant
8 1 B F 0 9 B C 6 A F 8 C 1 4 B 4 2 F 8 C 1 4 B 4 80
w(32) w(33) w(34) w(35)
0 E F 9 0 3 3 3 3 B A 9 6 1 3 8 9 7 0 6 0 A 0 4 5 1 1 D F A 9 F
Round # RotWord(9) SubWord(9) ^ Rcon(9) Constant
9 1 D F A 9 F 5 1 A 4 2 D D B D 1 B F 2 D D B D 1 1B
w(36) w(37) w(38) w(39)
B 1 D 4 D 8 E 2 8 A 7 D B 9 D A 1 D 7 B B 3 D E 4 C 6 6 4 9 4 1
Round # RotWord(10) SubWord(10) ^ Rcon(10) Constant
10 6 6 4 9 4 1 4 C 3 3 3 B 8 3 2 9 0 5 3 B 8 3 2 9 36
w(40) w(41) w(42) w(43)
B 4 E F 5 B C B 3 E 9 2 E 2 1 1 2 3 E 9 5 1 C F 6 F 8 F 1 8 8 E
Round 0
Plaintext Input in ASCII
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Plaintext Input in hexadecimal
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Initial State
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Round Key
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Round 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
After SubBytes
6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
After ShiftRows
6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
After MixColumns
6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
Round Key
6 2 6 2 6 2 6 2 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
Round 2
0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
After SubBytes
7 C 7 C 7 C 7 C 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
After ShiftRows
7 C 7 C 7 C 7 C 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3 6 3
After MixColumns
5 D 5 D 5 D 5 D 7 C 7 C 7 C 7 C 7 C 7 C 7 C 7 C 4 2 4 2 4 2 4 2
Round Key
9 B F 9 9 B F 9 9 8 F B 9 8 F B 9 8 F B 9 8 F B C 9 A A C 9 A A
Round 3
C 6 A 4 C 6 A 4 E 4 8 7 E 4 8 7 E 4 8 7 E 4 8 7 8 B E 8 8 B E 8
After SubBytes
B 4 4 9 B 4 4 9 6 9 1 7 6 9 1 7 6 9 1 7 6 9 1 7 3 D 9 B 3 D 9 B
After ShiftRows
B 4 4 9 B 4 4 9 1 7 6 9 1 7 6 9 6 9 1 7 6 9 1 7 9 B 3 D 9 B 3 D
After MixColumns
B 8 0 3 B 8 0 3 B A 9 F B A 9 F C 7 4 9 C 7 4 9 9 4 D F 9 4 D F
Round Key
9 0 6 9 F 2 0 B 9 7 6 C F 4 0 F 3 4 C F 5 7 A C 5 0 F A 3 3 9 9
Round 4
2 8 6 A 4 A 0 8 2 D F 3 4 E 9 0 F 3 8 6 9 0 E 5 C 4 2 5 A 7 4 6
After SubBytes
3 4 0 2 D 6 3 0 D 8 0 D 2 F 6 0 0 D 4 4 6 0 D 9 1 C 3 F 5 C 5 A
After ShiftRows
3 4 0 2 D 6 3 0 0 D 2 F 6 0 D 8 6 0 D 9 0 D 4 4 5 A 1 C 3 F 5 C
After MixColumns
4 5 B 0 2 5 0 B D 4 3 0 3 E 0 B 1 7 A 0 E D 8 4 8 5 C 8 7 2 7 4
Round Key
E E 8 7 7 5 7 E 0 6 6 A 9 E 9 1 D A 1 5 4 2 E E 7 B 8 1 B 2 2 B
Round 5
A B 3 7 5 0 7 5 D 2 5 A A 0 9 A C D B 5 A F 6 A F E 4 9 C 0 5 F
After SubBytes
6 2 9 A 5 3 9 D B 5 B E E 0 B 8 B D D 5 7 9 0 2 B B 3 B B A C F
After ShiftRows
6 2 9 A 5 3 9 D B E E 0 B 8 B 5 7 9 0 2 B D D 5 C F B B 3 B B A
After MixColumns
A B A D F 3 8 A 4 1 F C D F 3 2 6 4 A 8 C 7 4 C E 4 3 A 8 6 B 3
Round Key
7 F F 8 8 D F 3 2 E 4 4 D A 4 B 2 B 3 E 7 C 9 2 8 8 0 9 B B 9 0
Round 6
D 4 5 5 7 E 7 9 6 F B 8 0 5 7 9 4 F 9 6 B B D E 6 C 3 3 3 D 2 3
After SubBytes
4 8 F C F 3 B 6 A 8 6 C 6 B B 6 8 4 9 0 E A 1 D 5 0 C 3 2 7 2 6
After ShiftRows
4 8 F C F 3 B 6 6 C 6 B B 6 A 8 E A 1 D 8 4 9 0 2 6 5 0 C 3 2 7
After MixColumns
E 8 1 3 7 B 2 3 9 3 5 D D 0 7 1 8 1 5 D 0 8 4 C 1 2 C 9 A 1 B 7
Round Key
E C 1 4 9 9 6 A 6 1 2 5 F F B 4 4 B 7 5 0 9 9 B 8 5 8 C 3 7 A 7
Round 7
0 4 0 7 E 2 4 9 F 2 7 8 2 F C 5 C A 2 8 0 1 D 7 9 7 4 5 9 6 1 0
After SubBytes
F 2 C 5 9 8 3 B 8 9 B C 1 5 A 6 7 4 3 4 7 C 0 E 8 8 6 E 9 0 C A
After ShiftRows
F 2 C 5 9 8 3 B B C 1 5 A 6 8 9 7 C 0 E 7 4 3 4 C A 8 8 6 E 9 0
After MixColumns
9 6 2 8 C 0 5 2 D F 7 5 3 D F E F 3 4 F 6 4 7 1 4 2 4 4 B D C B
Round Key
2 1 3 5 A C C 6 7 5 5 0 A F 1 B 1 7 6 2 6 B F 0 8 7 0 B 3 C 9 B
Round 8
B 7 1 D 6 C 9 4 A A 2 5 9 2 E 5 E 4 2 D 0 F 8 1 C 5 4 F 8 1 5 0
After SubBytes
A 9 A 4 5 0 2 2 A C 3 F 4 F D 9 6 9 D 8 7 6 0 C A 6 8 4 0 C 5 3
After ShiftRows
A 9 A 4 5 0 2 2 3 F 4 F D 9 A C 7 6 0 C 6 9 D 8 5 3 A 6 8 4 0 C
After MixColumns
2 D 2 8 3 D 7 F 1 E 8 8 C 6 1 E 8 F 0 2 C C 3 1 0 F E 3 5 3 0 A
Round Key
0 E 3 B 9 7 5 1 F 9 A 9 0 6 1 D 0 3 6 1 0 A F A 3 3 3 8 0 4 9 F
Round 9
2 3 1 3 A A 2 E E 7 2 1 C 0 0 3 8 C 6 3 C 6 C B 3 C D B 5 7 9 5
After SubBytes
2 6 7 D A C 3 1 9 4 F D B A 7 B 6 4 F B B 4 1 F E B B 9 5 B 2 A
After ShiftRows
2 6 7 D A C 3 1 F D B A 7 B 9 4 B 4 1 F 6 4 F B 2 A E B B 9 5 B
After MixColumns
C E D B 1 3 6 5 2 A D 8 4 F 4 F D 6 D F C F A 5 7 7 E F 9 9 8 A
Round Key
B 1 8 A 1 D 4 C D 4 7 D 7 B 6 6 D 8 B 9 B 3 4 9 E 2 D A D E 4 1
Round 10
7 F 5 1 0 E 2 9 F E A 5 3 4 2 9 0 E 6 6 7 C E C 9 5 3 5 4 7 C B
After SubBytes
D 2 D 1 A B A 5 B B 0 6 1 8 A 5 A B 3 3 1 0 C E 2 A 9 6 A 0 1 F
After ShiftRows
D 2 D 1 A B A 5 0 6 1 8 A 5 B B 1 0 C E A B 3 3 1 F 2 A 9 6 A 0
After MixColumns
B A 7 5 8 4 1 4 F 1 8 2 8 A 3 D D 5 3 0 E 2 8 3 4 5 E A D F 2 7
Round Key
B 4 3 E 2 3 6 F E F 9 2 E 9 8 F 5 B E 2 5 1 1 8 C B 1 1 C F 8 E
Output
6 6 E F 8 8 C A E 9 8 A 4 C 3 4 4 B 2 C F A 2 B D 4 3 B 5 9 2 E
Ciphertext in hexadecimal
6 6 E 9 4 B D 4 E F 8 A 2 C 3 B 8 8 4 C F A 5 9 C A 3 4 2 B 2 E
Plaintext Input in ASCII
f K , ; L Y 4 + .