Problem 45211. AES SubBytes() Transformation
Given a 16x2 input character hexadecimal array representing the AES state, execute the AES algorithm SubBytes() transformation and output a 16x2 character hexadecimal array.
Refer to this link: https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf
For example:
statei=['e3';'38';'2d';'8e';'60';'8d';'3e';'38';'15';'f4';'a7';'88';'e3';'f4';'06';'1a']; stateo=['11';'07';'d8';'19';'d0';'5d';'b2';'07';'59';'bf';'5c';'c4';'11';'bf';'6f';'a2'];
Solution Stats
Problem Comments
-
2 Comments
Dyuman Joshi
on 12 Jun 2022
Link is not working.
David Hill
on 31 Aug 2022
Verified link.
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
6067 Solvers
-
129 Solvers
-
Replace all zeros and NaNs in a matrix with the string 'error'
97 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
994 Solvers
-
Chebyshev polynomials of the 2nd Kind
68 Solvers
More from this Author54
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!