# SecureVision: An Open-Source User-Customizable Image Encryption Program
## 3 Results and Discussion
### Examples and Testing
\begin{table}
\begin{tabular}{c c c c c c} \hline \hline
**Ref. No.** & **Technique** & **Key Space** & **GUI** & **Speed** & **Programming Language** \\ \hline
[32] & Bitplane decomposition and Chaotic maps & 0.25 \(\times\) 10\({}^{64}\) & No & Low & Matlab \\ \hline
[30] & Permutation and interrelated chaos & 10\({}^{108}\) & No & Low & - \\ \hline
[33] & Dynamic random growth technique & \textgreater{}10\({}^{96}\) & No & Moderate & C++ \\ \hline
[34] & Swapping-based confusion approach & 0.18 \(\times\) 10\({}^{60}\) & No & Good & C \\ \hline
[35] & Arnold map & \textgreater{}2\({}^{100}\) & No & Moderate & Matlab \\ \hline
[36] & Logistic mapping & 10\({}^{112}\) & No & Moderate & Matlab \\ \hline
[19] & Scrambling encryption algorithm based on chaos map & \textgreater{}2\({}^{100}\) & No & Moderate & Matlab \\ \hline
[28] & AES on secured TFTP protocol & \textgreater{}2\({}^{128}\) & Yes & Moderate & Python \\ \hline Our work & Random pixel shuffling & \textgreater{}10\({}^{100}\) & Yes & Good & Fortran \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Comparisons of some features (key space, GUI, speed and programming language) of techniques used in selected previous investigations and in the present work. a secured shell connection to a designated server. Random shuffling of pixel positions was controlled by a random number generator with randomness controlled by user-defined keys. Upon supplying the same keys to the decryption module of the program, the shuffled pixels were restored to their original positions. In addition, the pixel values were shuffled during encryption to further enhance the security. The present program was found to be sensitive to the keys supplied by the user, which prevented brute-force attack by an unauthorized user. The open-source nature of the program would allow users to modify the code for their desired applications. In addition, the program would be a useful tool for students and those parties who are interested in learning image encryption and decryption. The obtained results were in good agreement with those obtained in previously published studies. The randomness of pixel shuffling was statistically verified. The time taken for encryption and decryption confirmed the good speed of the present method. The present program and the introduced method were also valuable from the pedagogical point of view. We aim to extend the present program to encrypt and decrypt color images through similar shuffling of pixel positions and values (RBG components) in future works. Furthermore, more server support features will be implemented so that users would have more control in their data transfer and backup. In addition, we would like to investigate the possibility of parallel implementation of the present method using MPI (Message Passing Interface) or CUDA (Compute Unified Device Architecture). Conceptualization, M.S.B. ; methodology, M.S.B. and K.N.Y. ; software, M.S.B. ; validation, M.S.B. and K.N.Y. ; formal analysis, M.S.B. ; investigation, M.S.B. ; resources, M.S.B., H.W. and K.N.Y. ; data curation, M.S.B. ; writing--original draft preparation, M.S.B. ; writing--review and editing, H.W. and K.N.Y. ; visualization, M.S.B. ; supervision, K.N.Y. ; project administration, H.W. and K.N.Y. ; funding acquisition, H.W. and K.N.Y. All authors have read and agreed to the published version of the manuscript. This research was funded by the Special Grant for the Development of Virtual Teaching and Learning (VTL), No. 6430120, from the University Grants Committee of Hong Kong SAR, and by Grants-in-Aid for Scientific Research, No. 20H03615, from the Ministry of Education, Culture, Sports, Science and Technology (MEXT), Japanese Government. Not applicable.