国密算法SM3_SM4.zip

上传者: 43536552 | 上传时间: 2020-01-03 11:40:34 | 文件大小: 20KB | 文件类型: zip
整理了网上的SM3 SM4的C#实现, 进行了封装, 使用更加简单, 附带测试用例. 已经在实际生产中使用. 运算结果与Java版本的一致.
可以支持指定Encoding, 可以设置密文形式(Base64编码或16进制字符串)

文件下载

资源详情

[{"title":"( 14 个子文件 20KB ) 国密算法SM3_SM4.zip","children":[{"title":"国密算法SM3_SM4","children":[{"title":"SM4Context.cs <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"国密算法SM3_SM4.sln <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"GeneralDigest.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"SM4Models.cs <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"SM3.cs <span style='color:#111;'> 8.60KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"国密算法SM3_SM4.csproj <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"EncryptionResultTypes.cs <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"SM4.cs <span style='color:#111;'> 19.23KB </span>","children":null,"spread":false},{"title":"TestResults","children":[{"title":"Deploy_zhaos 2019-12-05 13_25_55","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Deploy_zhaos 2019-12-05 13_40_18","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Deploy_zhaos 2019-12-05 13_26_22","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Deploy_zhaos 2019-12-05 13_44_23","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Deploy_zhaos 2019-12-05 13_44_48","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Deploy_zhaos 2019-12-05 13_26_49","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Deploy_zhaos 2019-12-05 13_30_26","children":[{"title":"Out","children":null,"spread":false},{"title":"In","children":[{"title":"DESKTOP-BJ51MTM","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false},{"title":"国密算法SM3_SM4Tests","children":[{"title":"SM4Tests.cs <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"国密算法SM3_SM4Tests.csproj <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"SM3Tests.cs <span style='color:#111;'> 573B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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