200 likes | 675 Views
NETWORK SECURITY. MUDASSAR RAZA KHALID MAHMOOD M. RIZWAN TAUSEEF AHMED. MCS-3. . AES DECRYPTION. . SUBMITTED TO: SIR SHARIF. CIIT , WAH CAMPUS.
E N D
NETWORK SECURITY MUDASSAR RAZA KHALID MAHMOOD M. RIZWAN TAUSEEF AHMED MCS-3 AES DECRYPTION SUBMITTED TO: SIR SHARIF CIIT , WAH CAMPUS
Key in English: Thats my Kung Fu (16 ASCII characters, 1 byte each) Translation into Hex: Key in Hex (128 bits): 54 68 61 74 73 20 6D 79 20 4B 75 6E 67 20 46 75 Plaintext in English: Two One Nine Two (16 ASCII characters, 1 byte each) Translation into Hex: Plaintext in Hex (128 bits): 54 77 6F 20 4F 6E 65 20 4E 69 6E 65 20 54 77 6F CIIT , WAH CAMPUS
ciphertext: 29 C3 50 5F 57 14 20 F6 40 22 99 B3 1A 02 D7 3A CIIT , WAH CAMPUS
inverse of the SBOX CIIT , WAH CAMPUS
AES Example - All RoundKeys (0) (2) (1) (4) (5) (3) (7) (6) (8) (9) (10) CIIT , WAH CAMPUS
Add Roundkey, Round 0 = (10) CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 1 INVERSE Substitute Byte, ROUND1 Add Roundkey, Round 1 = (9) Inverse mix column, Round1 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 2 INVERSE Substitute Byte, ROUND2 Add Roundkey, Round 2 = (8) Inverse mix column, Round2 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 3 INVERSE Substitute Byte, ROUND3 Add Roundkey, Round 3 = (7) Inverse mix column, Round3 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 4 INVERSE Substitute Byte, ROUND4 Add Roundkey, Round 4 = (6) Inverse mix column, Round4 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 5 INVERSE Substitute Byte, ROUND5 Add Roundkey, Round 5 = (5) Inverse mix column, Round5 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 6 INVERSE Substitute Byte, ROUND6 Add Roundkey, Round 6 = (4) Inverse mix column, Round6 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 7 INVERSE Substitute Byte, ROUND7 Add Roundkey, Round 7 = (3) Inverse mix column, Round7 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 8 INVERSE Substitute Byte, ROUND8 Add Roundkey, Round 8 = (2) Inverse mix column, Round8 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 9 INVERSE Substitute Byte, ROUND9 Add Roundkey, Round 9 = (1) Inverse mix column, Round9 = CIIT , WAH CAMPUS
inverse SHIFT ROWS, ROUND 10 INVERSE Substitute Byte, ROUND10 Add Roundkey, Round 10 = (0) WHICH IS REQUIRED PLAIN TEXT CIIT , WAH CAMPUS