Encryption as a Service using Parallel Computing Frameworks


  • Alexandru Costin Stanimir The Bucharest University of Economic Studies


OpenCL, AES, Cloud Computing, C 11, REST Services, Benchmarking


In this article I present a study of an implementation named Encryption as a service which is a web service that can be deployed on a various number of devices and that can take advantage of parallelism in order to provide basic functionality of a cryptographic system: encrypt, decrypt and store data. This goal was achieved by implementing symmetric key cryptography algorithm Advanced Encryption Standard (AES) using Open Computing Language (OpenCL) and exposed this functionality through a REST web service .The performance results were obtained by deploying this solution on Windows Azure platform in order to take advantage of 20x CPU computing power m Amazon Web Service platform equipped with 2x Nvidia Tesla K20 GPU and regular home user hardware. This study represents a first step in a broader project which final goal is to provide full support for all encryption algorithms.

Author Biography

Alexandru Costin Stanimir, The Bucharest University of Economic Studies

IT&C Security Master

Department of Economic Informatics and Cybernetics


National Institute of Standards and Technology (NIST), FIPS 197 : Advanced Encryption Standard (AES ),1999., The AES implantation based on OpenCL for multi/many core architecture

Svetlin A. Manavski, CUDA compatible GPU as an efficient hardware accelerator for AES cryptography , International Conference on Signal Processing and Communi-cation, ICSPC 2007, (Dubai, United Arab Emirates), pp.65-68,2007. http://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf

The features of C99 are described in the document “Rationale for International Standard – Programming Languages – C “, Revision 5.10, available at: http://www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf

Khronos Group, Kernel definition, page 20 of http://www.khronos.org/registry/cl/ specs/opencl-1.0.48.pdf

Wen-Mei W. Hwu (Ed.), GPU Computing Gems Emerald Edition. Morgan Kaufman, 2011.

J. W. Bos, D. A. Osvik, and D. Stefan, “Fast implementations of AES on various platforms”, Tech. rep., Cryptology ePrint Archive, Report 2009/501, 2009 [Online]. Available: http://eprint.iacr.org

David B. Kirk and Wen-mei W. Hwu, Programming Massively Parallel Processors: A Hands-on Approach, Burlington, MA: Morgan Kaufmann Publishers, 2010




How to Cite

Stanimir, A. C. (2013). Encryption as a Service using Parallel Computing Frameworks. Journal of Mobile, Embedded and Distributed Systems, 5(4), 136-141. Retrieved from http://jmeds.eu/index.php/jmeds/article/view/Encryption_as_a_Service_using_Parallel_Computing_Frameworks