1 Star 5 Fork 7

松露 / SM2-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

js-sm2-sm3-sm4-sm9-zuc

具体相关算法这里不在讲述,网上文章很多,也可以看我之前 iOS-sm2-sm3-sm4-sm9-zuc 里面提供的资料。 链接地址 https://github.com/yazhouZhang/SM2-SM3-SM4-SM9

这里提供了三个 demo,里面有 sm2 加解密,签名验证签名,sm3 加密,sm4 加解密。sm9 和 zuc 后续补充

由于公司需要 js 的国密,所以研究了下,结合这三个 demo,封装出适合我们公司业务的国密库。 目前 sm2 加解密、签名、验证签名、sm3 加密、sm4 加密均已和 iOS 端,后端调通。

不同公司在国密的前后端交互不同,所以给出了这三个 demo,大家可以根据自己公司业务,进行修改封装。 有疑问的可以提 issues,觉得有用的欢迎給个 star

MIT License Copyright (c) 2020 松露老师 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

国密SM2算法JS版本实现Demo 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/songlu-cube/sm2-demo.git
git@gitee.com:songlu-cube/sm2-demo.git
songlu-cube
sm2-demo
SM2-demo
master

搜索帮助