Click here to Skip to main content
Licence 
First Posted 11 Oct 2004
Views 51,275
Bookmarked 19 times

RSA Encryption Elgorithm

By | 11 Oct 2004 | Article
This code implements RSA encryption technique in an efficient and reusable way.

Introduction

Famous encryption algorithms have been a mystery for developers who use them by just getting the implementation from somewhere else.

This implementation of RSA is to understand it and to use it in an easy and customizeable way.

The encryption is based on the formula C = M^e (mod n) where n=p*q and p,q,e are prime numbers.

Descryption is perform with the formula M = C^d (mod n) and d can be calculate using ed = 1 (mod (p-1)(q-1)).

Try implementing RSA yourself, its a real fun :) I love to program mathematics!!!

You will see my other algorithms very soon.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

immaad

Software Developer

Australia Australia

Member

C/C++, C# .NET, VB.NET, Linux, Oracle, PostgreSQL, MYSQL

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalrsa Pinmemberyasmin830:45 29 Jun '10  
GeneralOnce again PinPopularmemberPaul Ingles1:45 12 Oct '04  
GeneralRe: Once again PinmemberJasper4C#4:56 12 Oct '04  
GeneralNice algo Pinmembersudhir mangla23:01 11 Oct '04  
GeneralRe: Nice algo Pinmemberimmaad9:20 13 Oct '04  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 12 Oct 2004
Article Copyright 2004 by immaad
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid