I did the entire AES algorithm from scratch starting from the S-box and ending round key but the final output is not 100% correct
I tried to input a plaintext = [0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F]
key = [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] yet the output is [‘7a’, ‘1b’, ’77’, ‘7d’, ‘6d’, ‘d6’, ‘e7’, ‘e2’, ‘e7’, ‘9c’, ’46’, ‘b1’, ‘b2′, ’78’, ’75’, ’82’] when it supposed to be [‘7a’, ‘ca’, ‘0f’, ’15’, ‘bc’, ‘d6’, ‘ec’, ‘7c’, ‘9f’, ’97’, ’46’, ’66’, ’16’, ‘e6’, ‘a2′, ’82’]
user22842066 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.