SecureCompatibleEncryptionExamples:用于加密字符串和二进制数据的安全加密示例的集合-源码

上传者: 42128537 | 上传时间: 2021-02-01 19:06:35 | 文件大小: 40KB | 文件类型: ZIP
安全兼容加密示例 创建该存储库是为了解决越来越多的在互联网上浮现的不良加密代码示例。 随着时间的推移,该存储库将进行扩展,以包含更多语言的示例。 随着2018年10月,有跨越5个不同的平台,14种语言16倍不同的兼容的例子。 演算法 加密:AES-128-GCM 密钥派生:PBKDF2 PBKDF2基础哈希:SHA-256 由于Java无限强度策略( Java Unlimited Strength Policy) ,选择了具有128位密钥的AES,这是由于密码导出法要求密钥大小不超过128位。 尽管使用AES-128显示了示例,但可以通过更改参数ALGORITHM_KEY_SIZE (在某些情况下为ALGORITHM_NAME )将它们轻松地更改为256位AES。 兼容性 此处显示的每个示例都跨平台和/或语言兼容。 任何语言的encryptString的结果都可以由任何语言的decryptString解密。 对于与现有示例不兼容的示例,请不要提交拉取请求。 方法 每个示例都公开了4种签名大致等同于以下方法的方法: string encryptString(plaintext:

文件下载

资源详情

[{"title":"( 26 个子文件 40KB ) SecureCompatibleEncryptionExamples:用于加密字符串和二进制数据的安全加密示例的集合-源码","children":[{"title":"SecureCompatibleEncryptionExamples-master","children":[{"title":"Rust","children":[{"title":"SCEE.rs <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"Go","children":[{"title":"SCEE.go <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"C","children":[{"title":"SCEE.c <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"SCEE.h <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Objective-C","children":[{"title":"SCEE_objc.h <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"SCEE.c <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"SCEE.h <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"SCEE.m <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"Kotlin","children":[{"title":"SCEE.kt <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"C#","children":[{"title":"SCEE.cs <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"Java","children":[{"title":"SCEE.java <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"Swift","children":[{"title":"SCEE.swift <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"Ruby","children":[{"title":"SCEE.rb <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"Visual Basic","children":[{"title":"SCEE.vb <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"JavaScript","children":[{"title":"SCEE-sjcl.js <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"SCEE-Node.js <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"SCEE-WebCrypto.js <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"C++","children":[{"title":"SCEE.c <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"SCEE.cpp <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"SCEE.h <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"SCEE_cpp.h <span style='color:#111;'> 584B </span>","children":null,"spread":false}],"spread":false},{"title":"icon.png <span style='color:#111;'> 21.88KB </span>","children":null,"spread":false},{"title":"PHP","children":[{"title":"SCEE.php <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"Python","children":[{"title":"SCEE.py <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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