Research Article

Color Image Encryption Based on Deep Learning and Block Embedding

Algorithm 2

Pseudocode of the proposed image encryption algorithm.
Input: original image F
Output: encrypted image E and keys
Step 1:
Step 2:
Step 3: get using the custom embedding method
Step 4:
Step 5: the matrix after diffusion is obtained by using to diffuse in the forward and backward direction as
  
 End
  
Step 6: