Rsa Decryption Key Calculator

This is a little tool I wrote a little while ago during a course that explained how RSA works. The course wasn't just theoretical, but we also needed to decrypt simple RSA messages. Given that I don't like repetitive tasks, my decision to automate the decryption was quickly made. Feel free to take a look at the code to see how it works.

Rsa public key decryption calculator

With this tool you'll be able to calculate primes, encrypt and decrypt message(s) using the RSA algorithm.

Decryption

Currently all the primes between 0 and 0 are stored in a bunch of javascript files, so those can be used to encrypt or decrypt (after they are dynamically loaded). In case this isn't sufficient, you can generate additional primes, which will be preserved until the page reloads.

If you encounter any issues or have suggestions/improvements, please create a new issue on the GitHub project page.

Key

A plaintext message M and encryption key e, OR; a ciphertext message C and decryption key d. The values of N, e, and d must satisfy certain properties. See RSA Calculator for help in selecting appropriate values of N, e, and d. JL Popyack, December 2002. Revised December 2012. Key Bits: 512 1024 2048 736 768 896 1280 1536 1984. Padding: NoPadding PKCS1 PKCS1OAEP (SHA1) Private Key Mode.

If you are interested in my personal site, you can visit it on canihavesome.cofffee.

Acknowledgments

Rsa Decryption Online

Rsa

I haven't written every line of code that's being used to show and generate this tool myself. I'd like to thank:

Decryption Tool

  • Matthew Crumley and other contributors for the BigInteger js library
  • Kyle Simpson for the LABjs library