Research Article

[Retracted] A Secure Environment Using a New Lightweight AES Encryption Algorithm for E-Commerce Websites

Algorithm 4

Shift column.
Input: state matrix as matrix of 4 ∗ 4 of bytes
Output: shifted state matrix as matrix of 4 ∗ 4 of bytes
a[0, 0], a[0, 1], a[0, 2], a[0, 3] = a[3, 0], a[0, 0], a[1, 0], a[2, 0]
a[0, 1], a[1, 1], a[2, 1], a[3, 1] = a[1, 1], a[2, 1], a[3, 1], a[0, 1]
a[0, 2], a[1, 2], a[2, 2], a[3, 2] = a[2, 2], a[3, 2], a[0, 2], a[1, 2]
a[0, 3], a[1, 3], a[2, 3], a[3, 3] = a[1, 3], a[2, 3], a[3, 3], a[0, 3]