RSA Public Key Cryptography in Javascript
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
allPrimeTest.js
rsa.js
rsa.min.js
testRSA.js

README.md

RSA.js

RSA Public Key Cryptography

A basic javascript implementation of the public-key cryptography algorithm described in the paper: "A Method for Obtaining Digital Signatures and Public-Key Cryptosystems"

Available at: people.csail.mit.edu/rivest/Rsapaper.pdf

Basic example

var RSACrypt = require('./rsa');
var rsa = new RSACrypt();

rsa.encrypt('Hello whats up dawg how are you?');