Title: Software Simulation of Variable Size Message Encryption Based RSA CryptoAlgorithm Using Ms. C#. NET

Issue Number: Vol. 6, No. 1
Year of Publication: March - 2017
Page Numbers: 35-43
Authors: Emmanuel U Opara, Oredola A. Soluade
Journal Name: International Journal of Cyber-Security and Digital Forensics (IJCSDF)
- Hong Kong
DOI:  http://dx.doi.org/10.17781/P002241


RSA Crypto-Algorithm is well-known and widely used public key cryptographic algorithm due to the prominent level of proven security which depends on the difficulty of large integer factorization problem. RSA is heavily based on the modular arithmetic of large integers and the whole RSA includes three parts: key generation, encryption and decryption process. In this paper, we propose a software simulation version via Ms. C# 2013.NET of RSA cryptosystem and its internal modules independently using efficient arithmetic operations and robust number theories. The simulation was tested for 32-bit encryption and decryption keys. We observed that the message that will be encrypted should be limited to the range of the modulus. This implies that the range should begin from zero to the modulus minus one. The simulation showed a comparable delay results for encryption/decryption process especially when it configured with small message sizes 10-200 byte at a time.