Problem 45213. AES-256 KeyExpansion()

Given a 32-byte hexadecimal character array representing the AES-256 input key, execute the AES-256 algorithm, KeyExpansion() and output the xth (input) key-word of this 60-word sequence as a 4x2 hexadecimal array. You will need the SubBytes() function done in one of my previous Cody problems.

Refer to this link:

For example:

x=58;%want key-word number 58 out of 60
w=['d0';'eb';'7c';'8a'];%58th key-word

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Nov 27, 2019