Research Article
[Retracted] A Secure Environment Using a New Lightweight AES Encryption Algorithm for E-Commerce Websites
| Input: Expanded message (EM) matrix of 4 ∗ 4 | | Output: Zigzagged EM matrix of 4 ∗ 4 | | Start | | //For the first two column | | While (i + 2 ≤ 3) do | | I = 0, j = 0 | | a(i, j) = a(i + 1, j) | | a(i + 1, j) = a(I, j + 1) | | a(I, j + 1) = a(i + 1, j + 1) | | a(i + 1, j + 1) = a(i + 2, j) | | i+=2 | | end while | | //For the last two column | | I = 3, j = 3 | | While (i − 2) > 0 do | | I = 3, J = 0 | | a(i, j) = a(i − 1, j) | | a(i − 1, j) = a(i, j − 1) | | a(i, j − 1) = a(i − 1, j − 1) | | a(i − 1, j − 1) = a(i − 2, j) | | i−=2 | | end while | | End |
|