Is ShiftRows(SubtBytes(x)) = SubtBytes(ShiftRows(x)) the same for the same entry : in AES Is ShiftRows(SubtBytes(x)) = SubtBytes(ShiftRows(x)) the same for the same entry : in AES
It seems like these two are equal, can someone explain in theoretically?
There is no theoretically required here.
ShiftRows changes the position of bytes, regardless of their value
SubBytes changes the value of bytes, regardless of their position
Therefore the order of these operations does not matter