Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RSA Public Key Cryptography in Javascript
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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?');
Something went wrong with that request. Please try again.