Uploaded by Raza Ali Khan

raza AES

advertisement
Question No 1
In this assignment, you need to encrypt the first 16 characters of the ASCII version
of your full name (FIRSTNAMEINFORMATIONSECURITYLASTNAME)
using the last 16 characters of your full name as the encryption key with a oneround -version of the AES. Show all intermediate steps with all intermediate values
clearly labeled.
Task # 1
PLAINTEXT
RAZAALIINFORMATI
Convert the plaintext and key to ASCII hexadecimal
The ASCII hexadecimal representation
52 41 5A 41 41 4C 49 49 4E 46 4F 52 4D 41 54 49
Task # 2
CIPHERKEY
TIONSECURITYKHAN
The ASCII hexadecimal representation
54 49 4F 4E 53 45 43 55 52 49 54 59 4B 48 41 4E
STATE MATRIX
Plaintext
52
41
4E
4D
41
4C
46
41
5A
49
4F
54
41
49
52
49
CIPHER KEY MATRIX
Cipher Key
54
53
52
4B
49
45
49
48
4F
43
54
41
4E
55
59
4E
XOR OF STATE MATRIX WITH CIPHER KEY MATRIX
52
41
4E
4D
41
4C
46
41
5A
49
4F
54
41
49
52
49
XOR
54
53
52
4B
49
45
49
48
4F
43
54
41
4E
55
59
4E
=
Resultant Matrix After XOR
06
12
1C
06
08
0F
0F
09
15
0a
1a
15
0F
1C
0b
07
Download