JSRSASIGN END OF SUPPORT ON 14 AUG 2026
FEATURES
The 'jsrsasign' library provides following features in pure JavaScript.- Signature - RSA/RSAPSS/ECDSA/DSA digital signature class wrapper of Java JCE style
- MessageDigest - cryptographic hash calculation class wrapper of Java JCE style
- MAC - message authentication code hash calculation class wrapper of Java JCE style
- ASN.1 encoder/generator
- ASN.1 structure for X.509 certificate, CRL and CSR(PKCS#10) generation
- ASN.1 structure for CMS SignedData generation
- ASN.1 structure for RFC 3161 TimeStamp generation
- ASN.1 structure for RFC 5126 CAdES Long Term Signature generation
- simple ASN.1 data parser
- simple X.509 certificate parser/reader
- KEYUTIL - loading RSA/EC/DSA private/public key from PEM formatted PKCS#1/5/8 and X.509 certificate
- JSON Web Signature(JWS), JSON Web Token(JWT) and JSON Web Key(JWK)
- Supported formats and algorithms are listed here.
NEWS
- 2026-Aug-14:
-
The "jsrsasign" library is end of support on 14 Aug 2026. Thank you for long support.
- 2026-Apr-10:
-
The "jsrsasign" will reach end-of-support in a few months. Some unfixed vulnerabilities have been reported for now. Hopefully most of them are fixed until the end of support. GitHub Support for this project will also be closed in a few week. Thank you for your long-standing support of this project.
We will announce the end-of-support date here as soon as it is determined.
- 2021-Jul-21:
- Donation program for jsrsasign have been started. Love jsrsasign? Please consider donation to sustain this project.
- 2017-Jun-30:
- Release 8.0.0 is now available. All deprecated methods, classes and files are removed and all-min.js file get smaller size.
DOWNLOAD
- Use git to clone the official jsrsasign repository
git clone git://github.com/kjur/jsrsasign.git
- Install from bower
bower install jsrsasign
- Install from NPM
npm install jsrsasign
- Alternatively, you can download a zip file for the latest development version or a previous releases.
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
- MessageDigest class tutorial
- Signature class tutorial
- ASN1 DER Primitive Encoder tutorial
- ASN.1 structure classes for X.509 certificate tutorial
- Reading PKCS#5 RSA private key with password tutorial
- Signing and verifying with RSAKey extension (*DEPRECATED*)
- List of programming tutorials