Findings and Notes in Web Development

Implementing RSA using VC6

Introduction

To test our understanding in RSA public key cryptosystem, we were being asked to develop a computer program to demonstrate the cryptosystem. The whole system consists of a random number generator, an encoding module that is able to encode characters into numbers, an encryption module as well as decryption module and finally an RSA cryptosystem cracking module.

Technical Information

Programming Language

The program is written in Microsoft® Visual C6, the reason why Visual C6 is being selected is because we wanted to do something simple. There is no GUI being implemented as we wanted to spend more time in enhancing the program.

Random Number Generator

To generate random number, we used Blum-Blum-Shub random number generator as we found it to be the easiest to implement.

Modular Exponential Problem

I happened to find a general solution suggestion on a Wikipedia entry when I was browsing the internet around to find a solution to modular exponential problem. The code snippet posted on the wikipedia entry claimed that it came from …

RSA

RSA is a cryptosystem …

Prime Number Testing

Large Number Factorization

Brief Documentation with Screenshots

Implementing RSA with Visual C

Credits

  • Developed by Me and Regina as well as Janet and Janice (No working copy from them).

Leave a Comment

  • [Avatar]
  • (required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This blog uses scripts to assist and automate comment moderation, and the author of this blog post does not hold responsibility in the content of posted comments. Please note that activities such as flaming, ungrounded accusations as well as spamming will not be entertained.