InvShiftRows
InvShiftRows is a crucial operation within the Advanced Encryption Standard (AES) symmetric-key encryption algorithm. It serves as the inverse transformation of the ShiftRows operation used in the encryption process. While ShiftRows cyclically shifts the rows of the state matrix to the right, InvShiftRows performs a corresponding cyclic shift to the left. This step is essential for ensuring diffusion, meaning that changes in one part of the plaintext affect multiple parts of the ciphertext.
In AES, the state is represented as a 4x4 matrix of bytes. The InvShiftRows operation is applied
The purpose of InvShiftRows is to reverse the effect of ShiftRows during the decryption process. By shifting