Skip to content

NOTE jsrsasign subset package

Kenji Urushima edited this page May 3, 2018 · 7 revisions

Some users said that jsrsasign-latest-all-min.js package is too large with 290kb size to work on browsers. So I will start to provide subsets of package after jsrsasign 7.1.0 release.

full package (250kb) JSURL

This is full package of jsrsasign with backword compatibility and deprecated codes.

jwths subset package (62kb) JSURL

This package is to sign and verify JSON Web Signatures(JWS) and JSON Web Token(JWT) with HS* signature algorithm. Please see this test code.

rsa subset package (97kb) JSURL

This package is to sign and verify with RSA algorithm. It can load RSA private and public key. Please see this test code.

graph of jsrsasign-all-min.js file size

In jsrsasign 8.0.0, most of deprecated methods, classes and files are removed so that "jsrsasign-all-min.js" get smaller than before.

in npm package

In the npm package of jsrsasign, you can also find

  • jsrsasign-jwths-min.js
  • jsrsasign-rsa-min.js in the 'lib' directory.
Clone this wiki locally