Abstract
From military imaging to sharing private pictures, confidentiality, integrity and authentication of images play an important role in the Internet of modern world. AES is currently one of the most famous symmetric cryptographic algorithms. Performing encryption/decryption of high-resolution images with AES is highly computation-intensive and time-consuming due to their large sizes and the underlying complexity of AES algorithm. Earlier increasing cryptographic complexity meant an increase in the processing time for encryption as well as decryption. Now, with the rise of the powerful GPUs containing thousands of high-performance and efficient cores and with the evolvement of GPU computing, the processing time has been reduced to a fraction of the time it used to take earlier. This paper presents a parallel implementation of AES using NVIDIA CUDA and OpenCV to encrypt images rapidly. We achieved an average speed up of four times on GPU as compared to CPU-only.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Nagendra, M., Sekhar, M.C.: Performance improvement of advanced encryption algorithm using parallel computation. Int. J. Softw. Eng. Appl. 8(2), 287–296 (2014)
Elkabbany, G.F., Aslan, H.K., Rasslan, M.N.: A design of a fast parallel- pipelined implementation of AES: advanced encryption standard. arXiv preprint arXiv:1501.01427 (2015)
Daniel, T.R., Stratulat, M.: AES on GPU using CUDA. In: 2010 European Conference for the Applied Mathematics & Informatics. World Scientific and Engineering Academy and Society Press (2010)
Sowmiya, S., Tresa, I.M., Chakkaravarthy, A.P.: Pixel based image encryption using magic square. In: 2017 International Conference on Algorithms, Methodology, Models and Applications in Emerging Technologies (ICAMMAET), pp. 1–4. IEEE (2017)
Feng, X., Tian, X., Xia, S.: A novel image encryption algorithm based on fractional fourier transform and magic cube rotation. In: 2012 4th International Congress on Image and Signal Processing (CISP), vol. 2, pp. 1008–1011. IEEE (2012)
Ren, S., Gao, C., Dai, Q., Fei, X.: Attack to an image encryption algorithm based on improved chaotic cat maps. In: 2012 3rd International Congress on Image and Signal Processing (CISP), vol. 2, pp. 533–536. IEEE (2010)
Lei, Z., Li, L., Xianwei, G.: Design and realization of image encryption system based on SMS4 commercial cipher algorithm. In: 2012 4th International Congress on Image and Signal Processing (CISP), vol. 2, pp. 741–744. IEEE (2012)
Li, Q., Zhong, C., Zhao, K., Mei, X., Chu, X.: Implementation and analysis of AES encryption on GPU. In: 2012 IEEE 14th International Conference on High Performance Computing and Communication & 2012 IEEE 9th International Conference on Embedded Software and Systems (HPCC-ICESS), pp. 843–848. IEEE (2012)
Abdelrahman, A.A., Fouad, M.M., Dahshan, H., Mousa, A.M.: High performance CUDA AES implementation: a quantitative performance analysis approach. In: Computing Conference 2017, pp. 1077–1085. IEEE (2017)
Khan, A.H., Al-Mouhamed, M.A., Almousa, A., Fatayar, A., Ibrahim, A.R., Siddiqui, A.J.: Aes-128 ECB encryption on GPU and effects of input plaintext patterns on performance. In: 2014 15th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing, SNPD, pp. 1–6. IEEE (2014)
Patchappen, M., Yassin, Y.M., Karuppiah, E.K.: Batch processing of multi-variant AES cipher with GPU. In: 2015 Second International Conference on Computing Technology and Information Management (ICCTIM), pp. 32–36. IEEE (2015)
Ma, J., Chen, X., Xu, R., Shi, J.: Implementation and evaluation of different parallel designs of AES using CUDA. In: 2017 IEEE Second International Conference on Data Science in Cyberspace (DSC), pp. 606–614. IEEE (2017)
Subramanyan, B., Chhabria, V.M., Sankar Babu, T.G.: Image encryption based on AES key expansion. In: 2011 Second International Conference on Emerging Applications of Information Technology (2011)
Zhang, Y.: Test and verification of AES used for image encryption. Published online: 12 January 2018. 3D Research Center, Kwangwoon University and Springer-Verlag GmbH Germany, part of Springer Nature (2018)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Saxena, A., Agrawal, V., Chakrabarty, R., Singh, S., Banu, J.S. (2020). Accelerating Image Encryption with AES Using GPU: A Quantitative Analysis. In: Abraham, A., Cherukuri, A., Melin, P., Gandhi, N. (eds) Intelligent Systems Design and Applications. ISDA 2018 2018. Advances in Intelligent Systems and Computing, vol 941. Springer, Cham. https://doi.org/10.1007/978-3-030-16660-1_37
Download citation
DOI: https://doi.org/10.1007/978-3-030-16660-1_37
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-16659-5
Online ISBN: 978-3-030-16660-1
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)