|
|
|||
Quick Download Calculator Standalone Application: RSA
Crypto Calculator
Active X version: RSA ActiveX Calculator
Notes:
Public key encryption is CPU intensive. The bigger the
numbers you use, the slower your computer will get. Try to keep it under
100. Buyer Beware. If you decide to go for it, then Ctl-Alt-Delete
will
give let you kill the program. This example was obviously not encoded for
production systems, it is only a teaching tool.
Public key encryption also does weird things with small numbers like 3,5,7. You may/not have consistent encrypt/decypt results. Try to use greater than 20 and less then 100.
Here is an ActiveX Version, runs inside IE 4.01 and up browsers: RSA
ActiveX Calculator. WARNING: Experimental!!! You will be asked to download
signed code files and to reboot your machine. The browser will be
downloading a Visual Basic ActiveX environment from Microsoft into your
browser. This Visual Basic ActiveX environment doesn't seem to load properly
on some environments (e.g. NT Workstation). You have to lower the
security level of IE5.0 (Tools->Options->Security) to "low"
in order to get it to run. Buyer Beware. I am interested in
your experiences good/bad.
There are still some bugs when you don't click all the buttons in the right order. Working on them.
Security Evolution, Inc. is not liable for any damages this program may cause
SecEv makes no warranty on this software
2003 © Security Evolution, Inc.
Report bugs to mje@secev.com
Have fun
Michael Endrizzi
CEO Security Evolution, Inc.
The purpose of this project was:
Prove that CEO's can still code (no laughing!!). Actually, this was my first attempt at Visual Basic programming using Microsoft's Visual Basic SDK and Visual InterDev SDK.
Have a tool that could look inside an RSA algorithm and watch it work step by step
Use this tool for our PKI classes that we give at SecEv. To learn more go to www.secev.com.
I know you are busy so we'll get to the weenie. RSA has two parts; generate keys, encrypt/decrypt. The left side of the calculator shows how you generate keys:
Input a large prime number (click on "print list of primes" for hints)
Input a second large prime
Calculate the factors/divisors of #2 above the prime peer
Pick the public key. You'll have to read the characteristics. These characteristics are known as "relatively prime"
Then click on "Validate E" to ensure the number you chose is valid. This will also generate the public/private keys
You can read all the formulas that got you to this point. There is also a calculator you can bring up if you don't believe my Visual Basic source code!!! Now that you've generated the keys, have fun encrypting/decrypting!!!
Type in some stuff
Click on "Encrypt All"
Click on "Decrypt All"
Home | Services | Training | Support | Contact Us | Search
Copyright 2006, Security Evolution, Inc.