JavaScript 完整 sm2工具

上传者: taisenki | 上传时间: 2019-12-21 21:13:25 | 文件大小: 78KB | 文件类型: 7z
参考开源http://www.jonllen.com/upload/jonllen/case/jsrsasign-master/sample-sm2_crypt.html 代码为基础,修正其中椭圆点未校验导致生成加密异常的问题,修正字符串转byte前后不统一导致部分加密结果无法与java端正常解密的问题

文件下载

资源详情

[{"title":"( 31 个子文件 78KB ) JavaScript 完整 sm2工具","children":[{"title":"SM2 Algorithm Encryption and Decryption sample_files","children":[{"title":"core.js <span style='color:#111;'> 20.96KB </span>","children":null,"spread":false},{"title":"jsbn.js <span style='color:#111;'> 14.89KB </span>","children":null,"spread":false},{"title":"ec-patch.js <span style='color:#111;'> 5.69KB </span>","children":null,"spread":false},{"title":"crypto-1.1.js <span style='color:#111;'> 39.57KB </span>","children":null,"spread":false},{"title":"asn1-1.0.js <span style='color:#111;'> 41.25KB </span>","children":null,"spread":false},{"title":"sha1.js <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"ec.js <span style='color:#111;'> 8.91KB </span>","children":null,"spread":false},{"title":"asn1hex-1.1.js <span style='color:#111;'> 9.42KB </span>","children":null,"spread":false},{"title":"sha256.js <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"yahoo-min.js <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"x509-1.1.js <span style='color:#111;'> 11.42KB </span>","children":null,"spread":false},{"title":"md5.js <span style='color:#111;'> 9.02KB </span>","children":null,"spread":false},{"title":"base64.js <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"rsa.js <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"cipher-core.js <span style='color:#111;'> 28.50KB </span>","children":null,"spread":false},{"title":"rsapem-1.1.js <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false},{"title":"enc-base64.js <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"sm3.js <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"asn1x509-1.0.js <span style='color:#111;'> 58.38KB </span>","children":null,"spread":false},{"title":"sm3-sm2-1.0.js <span style='color:#111;'> 10.25KB </span>","children":null,"spread":false},{"title":"rng.js <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"prng4.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ecdsa-modified-1.0.js <span style='color:#111;'> 17.80KB </span>","children":null,"spread":false},{"title":"rsasign-1.2.js <span style='color:#111;'> 15.32KB </span>","children":null,"spread":false},{"title":"jsbn2.js <span style='color:#111;'> 18.21KB </span>","children":null,"spread":false},{"title":"tripledes.js <span style='color:#111;'> 23.42KB </span>","children":null,"spread":false},{"title":"pkcs5pkey-1.0.js <span style='color:#111;'> 43.70KB </span>","children":null,"spread":false},{"title":"sm2.js <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"ecparam-1.0.js <span style='color:#111;'> 10.20KB </span>","children":null,"spread":false},{"title":"rsa2.js <span style='color:#111;'> 6.85KB </span>","children":null,"spread":false}],"spread":false},{"title":"SM2 Algorithm Encryption and Decryption sample.html <span style='color:#111;'> 9.30KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • zhong_wn :
    谢谢,可以用
    2019-11-29
  • nnpig :
    没有java端的,不知道是否会产生乱码
    2019-08-15
  • Silentboys :
    有Java版的可以参考下吗?邮箱861404004@qq.com
    2018-08-28
  • cwt13579cwt :
    说实话 这个东西生成的 密钥对 拿到后台代码测试的时候 验签都过不去,验签的时候需要用户id 代码里默认都没一个 骗子
    2018-04-16
  • perseus :
    谢谢,可以用
    2018-03-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明