Performance comparison of asymmetric cryptography (case study-mail message)

  • Zarni Sann University of Computer Studies (Mandalay)
  • Thi thi Soe University of Computer Studies (Mandalay)
  • Kaythi Wyut Mhone Knin University of Computer Studies (Mandalay)
  • Zin May Win University of Computer Studies (Mandalay)
Keywords: ElGamal algorithm, RSA algorithm, Secured mail communication


Data encryption is well known as essential for today’s technology. ElGamal encryption and RSA algorithm
is made before storing mails to mail server. ElGamal decryption and RSA decryption is made after retrieving mails
from mail server. This system is implemented to secure mail server system for local government’s important mail
messages. These algorithms consume a considerable amount of time and resources of memory, CPU time, and
computation time to encrypt and decrypt data. This paper discuss the results comparison of these algorithms in term
of encryption time, decryption time, and memory usage over variable file sizes. The results show that RSA does faster
encryption process in compare with ElGamal. However, ElGamal decryption process is quicker than RSA. This system
is also expressed comparison of storage Size between RSA and ElGamal. Both of these algorithms are cryptographic
public-key algorithms but have roles in different techniques. This system is using C# programming language and SQL
Server to store mail messages.


[1] Czeslaw Koscielny, A new approach to the Elgamal encryption scheme, Academy of Management of Legnica,
Faculty of Computer Science, ul. Reymonta 21, 59–220 Legnica, Poland. Int. J. Appl. Math. Comput. Sci. 2004.
Vol.14(2): 265-267.
[2] Mustafa Dulegerler, & M.NusretSarisakal. A secure e-mail application using the ElGamal algorithm, Instanbul
University. Engineering Faculty. Computer Engineering Department. 34850. Turkey. 1998.
[3] Rashmi Singh, & Shiv Kumar. Elgamal’s Algorithm in Cryptography. International Journal of Scientific &
Engineering Research. Dec 2012. Vol.3(12).
[4] AnnapoornaShetty, Shravya Shetty K, Krithika K. A Review on Asymmetric Cryptography - RSA and ElGamal
Algorithm, International Journal of Innovative Research in Computer and Communication Engineering.
Oct 2014. Vol.2(5).
[5] M. Preetha, & M. Nithya. A Study and Performance Analysis of RSA Algorithm. IJCSMC. Jun 2013.
Vol.2(6): 126-139.
[6] Zarni Sann, May Thiri Win, San Thiri Aung. Secured Mail System using Asymmetric Cryptography - RSA and
ElGamal Algorithm, Journal of Networking, Computer Security and Engineering, Vol.4(1).
[7] Jae-Young Kim & James Won-Ki Hong. Design and Implementation of a Web-based mail server management
system. 1996.