hugomejia / js-rsa-dave

A suite of routines for performing RSA public-key computations in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSA Js-rsa-dave


A suite of routines for performing RSA public-key computations in JavaScript modified from project of Dave Shapiro

Downloads Version License

Install

npm install js-rsa-dave

👃 Dave's Doc

http://www.ohdave.com/rsa/

Usage

// in components
import RSA from 'js-rsa-dave'
RSA.encryptedString()
RSA.getKeyPair()
RSA.encryptedString(RSA.getKeyPair(rsaTokenPublicExponent, '', rsaTokenPublicModulus), userInputPassword)
// return encrypted password

About

A suite of routines for performing RSA public-key computations in JavaScript


Languages

Language:JavaScript 100.0%