Mukarram Mukhtar

December 8, 2009

Implementation of RSA Cryptosystem in JAVA

In this article I’ll demonstrate how easy it is to implement the most popular asymmetric-key cryptosystem, RSA in Java language. RSA, named after its inventors Rivest, Shamir and Adleman, is basis of many modern encryption protocols e.g. SSL, PGP etc. The detailed explanation of how RSA works is beyond the scope of this article; nonetheless, you’ll find in this article practical implementation of RSA’s encryption and decryption algorithms. Moreover, you’ll also find, in its basic form, implementation of Optimal Asymmetric Encryption Padding (OAEP), which is an essential part of RSA (Thanks to Ojash Shrestha).

(more on this)

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: