jsrsasign
所属分类:加密解密
开发工具:JavaScript
文件大小:23585KB
下载次数:0
上传日期:2021-04-07 08:58:25
上 传 者:
zhangjiahui
说明: jsrsasign,从 github 下载来的,方便下载
(Jsrssign, downloaded from GitHub, easy to download)
文件列表:
jsrsasign (0, 2021-04-02)
jsrsasign\index_jwsut.html (2101, 2021-04-02)
jsrsasign\jsrsasign-jwths-min.js (66422, 2021-04-02)
jsrsasign\index.html (13668, 2021-04-02)
__MACOSX\jsrsasign\._index.html (176, 2021-04-02)
jsrsasign\.DS_Store (8196, 2021-04-02)
__MACOSX\jsrsasign\._.DS_Store (120, 2021-04-02)
jsrsasign\test (0, 2021-04-02)
jsrsasign\jsrsasign-all-min.js (311132, 2021-04-02)
jsrsasign\Makefile (2160, 2021-04-02)
jsrsasign\index_jws.html (10930, 2021-04-02)
jsrsasign\index_jws_gen.png (28722, 2021-04-02)
jsrsasign\ext (0, 2021-04-02)
jsrsasign\sample-rsasign.png (310762, 2021-04-02)
jsrsasign\bower.json (492, 2021-04-02)
jsrsasign\sample_node (0, 2021-04-02)
jsrsasign\mobile (0, 2021-04-02)
jsrsasign\sample (0, 2021-04-02)
jsrsasign\api (0, 2021-04-02)
jsrsasign\index_alg.html (3543, 2021-04-02)
jsrsasign\ChangeLog.txt (70793, 2021-04-02)
jsrsasign\ChangeLog_jws322.txt (3814, 2021-04-02)
jsrsasign\npm_util (0, 2021-04-02)
jsrsasign\jsrsasign-rsa-min.js (104931, 2021-04-02)
jsrsasign\LICENSE.txt (6575, 2021-04-02)
jsrsasign\index_oldnews.html (12219, 2021-04-02)
jsrsasign\min (0, 2021-04-02)
jsrsasign\npm (0, 2021-04-02)
jsrsasign\index_jwsmat.html (10024, 2021-04-02)
jsrsasign\tool (0, 2021-04-02)
jsrsasign\index_jws_genjs.png (59489, 2021-04-02)
jsrsasign\src (0, 2021-04-02)
jsrsasign\test\qunit-do-x509-getinfo.html (16145, 2021-04-02)
jsrsasign\test\qunit-do-jws-sign-slow.html (11104, 2021-04-02)
jsrsasign\test\qunit-do-x509-param.html (31450, 2021-04-02)
jsrsasign\test\qunit-do-x509-v1.html (5310, 2021-04-02)
jsrsasign\test\qunit-do-asn1x509-newcrt.html (21658, 2021-04-02)
... ...
jsrsasign
=========
[![license](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/kjur/jsrsasign/blob/master/LICENSE.txt)
[![bower](https://img.shields.io/bower/v/jsrsasign.svg?maxAge=2592000)](https://libraries.io/bower/jsrsasign)
[![npm version](https://badge.fury.io/js/jsrsasign.svg)](https://badge.fury.io/js/jsrsasign)
[![npm downloads](https://img.shields.io/npm/dm/jsrsasign.svg)](https://www.npmjs.com/package/jsrsasign)
[![CDNJS](https://img.shields.io/cdnjs/v/jsrsasign.svg)](https://cdnjs.com/libraries/jsrsasign)
[![githubsponsors](https://img.shields.io/badge/github-donate-yellow.svg)](https://github.com/sponsors/kjur)
[![cryptocurrency](https://img.shields.io/badge/crypto-donate-yellow.svg)](https://github.com/kjur/jsrsasign#cryptocurrency)
The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES JSON Web Signature/Token/Key in pure JavaScript.
Public page is https://kjur.github.io/jsrsasign .
Your bugfix and pull request contribution are always welcomed :)
NEWS
----
- 2020-Oct-05: jsrsasign won [Google Open Source Peer Bonus Award](https://opensource.googleblog.com/2020/10/announcing-latest-google-open-source.html). Thank you Google.
- 2020-Sep-23: 10.0.0 released for CMS SignedData related class including timestamp and CAdES architecture update
- 2020-Aug-24: 9.1.0 released to new CRL APIs align with certificate
- 2020-Aug-19: 9.0.0 released for major update of certificate and CSR generation and parsing without backward compatibility. Please see [migration guide](https://github.com/kjur/jsrsasign/wiki/NOTE-jsrsasign-8.0.x-to-9.0.0-Certificate-and-CSR-API-migration-guide) in detail.
- 2020-Aug-02: twitter account [@jsrsasign](https://twitter.com/jsrsasign) started for announcement. please follow.
HIGHLIGHTS
----------
- Swiss Army Knife style all in one package crypto and PKI library
- available on [Node.js](https://www.npmjs.com/package/jsrsasign) and browsers
- very easy API to use
- powerful various format key loader and ASN.1 API
- rich document and samples
- no dependency to other library
- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)
- no dependency on newer ECMAScirpt function. So old browsers also supported.
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2021-02-12)
INSTALL
-------
### Node NPM
> npm install jsrsasign jsrsasign-util
### Bower
> bower install jsrsasign
### Or include in HTML from many CDN sites
>
USAGE
-----
Loading encrypted PKCS#5 private key:
> var rs = require('jsrsasign');
> var rsu = require('jsrsasign-util');
> var pem = rsu.readFile('z1.prv.p5e.pem');
> var prvKey = rs.KEYUTIL.getKey(pem, 'passwd');
Sign string '***' with the loaded private key:
> var sig = new a.Signature({alg: 'SHA1withRSA'});
> sig.init(prvKey);
> sig.updateString('***');
> var sigVal = sig.sign();
> sigVal
'd7***dcacb...'
MORE TUTORIALS AND SAMPLES
--------------------------
- [Tutorials in GitHub Wiki](https://github.com/kjur/jsrsasign/wiki)
- [Sample Node Scripts](https://github.com/kjur/jsrsasign/tree/master/sample_node)
## RECENT SECURITY ADVISORY
|published|fixed version|title/advisory|CVE|CVSS|
|:---|:---|:---|:---|:---|
|2020Jun22|8.0.19|[ECDSA signature validation vulnerability by accepting wrong ASN.1 encoding](https://github.com/kjur/jsrsasign/security/advisories/GHSA-p8c3-7rj8-q963)|CVE-2020-14966|5.5|
|2020Jun22|8.0.18|[RSA RSAES-PKCS1-v1_5 and RSA-OAEP decryption vulnerability with prepending zeros](https://github.com/kjur/jsrsasign/security/advisories/GHSA-xxxq-chmp-67g4)|CVE-2020-14967|4.8|
|2020Jun22|8.0.17|[RSA-PSS signature validation vulnerability by prepending zeros](https://github.com/kjur/jsrsasign/security/advisories/GHSA-q3gh-5r***-j4h3)|CVE-2020-14968|4.2|
Here is [full published security advisory list](https://github.com/kjur/jsrsasign/security/advisories?state=published).
## DONATIONS
If you like jsrsasign and my other project, you can support their development by donation through any of the platform/services below. Thank you as always.
### Github Sponsors
You can sponsor jsrsasign with the [GitHub Sponsors](https://github.com/sponsors/kjur) program.
### Cryptocurrency
You can donate cryptocurrency to jsrsasign using the following addresses:
- Bitcoin(BTC): [34vSRe7XHoMy78HKgps9YJ5BrBLYJLeM22](https://en.cryptobadges.io/donate/34vSRe7XHoMy78HKgps9YJ5BrBLYJLeM22)
- Ethereum(ETH): [0x9c4cdbb531e5b84796ff5f91a9f652704761e***e](https://en.cryptobadges.io/donate/0x9c4cdbb531e5b84796ff5f91a9f652704761e***e)
- Litecoin(LTC): [LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU](https://en.cryptobadges.io/donate/LPf3VDJVamwPcNJNjjVtrUQuJQ17ZyWzeU)
- Bitcoin Cash(BCH): bitcoincash:pq3hy08pc9vm57q6ddgsc06cqdffmfzwwqxd9yejyf
近期下载者:
相关文件:
收藏者: