Skip to main content
. 2019 Jul 3;21(7):656. doi: 10.3390/e21070656
Algorithm 1: Algorithm of the encryption process
Input: plain color image P of size 256×256
Output: cipher image C
Step 1: Block scrambling is applied on P, which is split into 64 blocks each of size 32 × 32 represented as C1.
Step 2: Modified zigzag transform (ZT) is performed on the scrambled blocks C1 to obtain C2.
Step 3: C2 is split into RGB channels each of size 256×256.
Step 4: Using ELM, the intermediate key is generated with initial values are taken as X0=0.790, Y0=0.889, Z0=0.590, respectively.
Step 5: The final key is generated by applying the chosen values from image and external user as initial condition and parameters.
Step 6: The secret key K is EX-OR-ed with the RGB channels received after modified ZT to obtain C.