Fork Me on GitHub

jsrsasign

opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, CMS SignedData, TimeStamp, CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)

Download this project as a .zip file Download this project as a tar.gz file
TOP | jsjws | DOWNLOADS | TUTORIALS | Wiki | API REFERENCE | DEMOS | NEW DEMOS | Node sample | NPM |

FEATURES

The 'jsrsasign' library provides following features in pure JavaScript.

NEWS

2016-Feb-28:
Release 5.0.6 is now available. Now jsrsasign can be used in strict mode (--use_strict) of Node.JS.
2015-Nov-23:
Release 5.0.4 is now available. There is no library and npm update but sample Node scirpts are added. Especially I hope jwtverify tool is very useful for JOSE guys :).
2015-Nov-11:
Release 5.0.2 is now available. RFC 7638 JWK thumbprint supported. Some file read/save functions added for Node.js in nodeutil.js.
2015-Oct-14:
Release 5.0.0 is now available. Mac class some issue fix and extra features for Mac passwords. It is also affects to JWS class. KEYUTIL.getKey supports RSA JWK without P/Q/DP/DQ/COEFF.
NOTICE: Release 4.10.0 was declined because of semver violation.
2015-Sep-15:
Keypair and CSR generator demonstration page is available.
2015-Sep-13:
Release 4.9.0 is now available. Certificate signing request (CSR/PKCS#10) support is added.
Old news is here.

ONLINE TOOL & DEMO

DOWNLOAD

See 'ChangeLog.txt' in detail.

API DOCUMENT

The 'jsrsasign'(RSA-Sign JavaScript Library) JavaScript API document is available here.

LICENSE

The 'jsrsasign'(RSA-Sign JavaScript Library) is licensed under the terms of the MIT license reproduced which is simple and easy to understand and places almost no restrictions.

PROGRAMMING TUTORIALS

You can see the list of QUnit unit tests here and I hope they help you understand 'jsrsasign' library and APIs.

PROJECTS THAT USE JSRSASIGN

jwcrypto
JavaScript implementation of JWS, JWT and JWC. The jycrypto is also used by Mozilla BrowserID/Persona. (used here)
jwt-js
JSON Web Tokens implemented in pure JavaScript. (used here)
npm node-bignumber
A pure javascript implementation of BigIntegers and RSA crypto for Node.js (used here)
npm bignumber-jt
A pure javascript implementation of BigIntegers and RSA crypto. (used here)
NDN.JS
a JavaScript client library for Named Data Networking of Univ. of Memphis. (used here)
cryptio
An easy-to-use encryption system utilizing RSA and AES for javascript. (used here)
jspackcrx
Package Chrome extension files using pure JavaScript. (used here)
xml-signer
xmldsig signatures in a browser (used here)

DEPENDENCY