Research Article

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

Algorithm 2

Padding.
Input: initial message (order form as string) as matrix of 4 ∗ 4 of bytes
Output: Expanded message (the padded order form) as matrix of 4 ∗ 4 of bytes
Start
Read message (M)
Compute message length (N)
If N < 16 then
The number of added characters (P) = 16 – N
For I = P down to 1
M = M concatenate I
End