Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 984 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 984 Bytes

Javascript RSA encryption/decryption and prime generation

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.

Notes

The code is not guaranteed to work (though it worked in all the cases I've tried so far), and especially the prime number "generator" is crudely constructed. It probably could be done way better, but it's no priority for me. Feel free to make a pull request to improve it ;)

Version history

  • 1.1 - Update, moved to GitHub to host
  • 1.0 - Entire rewrite, played around with some OO javascript.
  • 0.5 - Initial release (not public)

Contributing

If you want to add or improve some things, feel free to make a pull request or open an issue :)

License

The project is released (in 2015) under the MIT license.