Correia-jpv/fucking-awesome-cryptography

GitHub: Correia-jpv/fucking-awesome-cryptography

密码学资源精选清单,系统整合理论、工具、多语言加密库与学习资料

Stars: 13 | Forks: 0

# Awesome Cryptography [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)

Awesome Cryptography

精选的密码学资源和链接列表。 ## 目录 - [理论](#theory) - [算法](#algorithms) - [对称加密](#symmetric-encryption) - [非对称加密](#asymmetric-encryption) - [哈希函数](#hash-functions) - [文章](#articles) - [书籍](#books) - [课程](#courses) - [其他列表](#other-lists) - [工具](#tools) - [独立工具](#standalone) - [插件](#plugins) - [Git](#git) - [演练场](#playgrounds) - [框架和库](#frameworks-and-libs) - [C](#c) - [C#](#c-sharp) - [C++](#c-1) - [Clojure](#clojure) - [Common Lisp](#common-lisp) - [Delphi](#delphi) - [Elixir](#elixir) - [Erlang](#erlang) - [Golang](#go) - [Haskell](#haskell) - [Haxe](#haxe) - [Java](#java) - [JavaScript](#javascript) - [Julia](#julia) - [Lua](#lua) - [OCaml](#ocaml) - [Objective-C](#objective-c) - [PHP](#php) - [Python](#python) - [R](#r) - [Ruby](#ruby) - [Rust](#rust) - [Scala](#scala) - [Scheme](#scheme) - [Swift](#swift) - [资源](#resources) - [博客](#blogs) - [邮件列表](#mailing-lists) - [Web 工具](#web-tools) - [Web 网站](#web-sites) - [贡献](#contributing) - [许可证](#license) ## 理论 ### 算法 #### 对称加密 - 🌎 [3DES](en.wikipedia.org/wiki/Triple_DES) - 对称密钥分组密码(或称为三重数据加密算法 (TDEA 或 Triple DEA),它将数据加密标准 (DES) 密码算法应用于每个数据块三次。 - 🌎 [AES](en.wikipedia.org/wiki/Advanced_Encryption_Standard) - 对称密钥分组密码算法,是美国政府用于安全和机密数据加密和解密的标准(也称为 Rijndael)。 - [Blowfish](https://en.wikipedia.org/wiki/Blowfish_(cipher)) - 对称密钥分组密码,由 Bruce Schneier 于 1993 年设计。设计的显著特点包括依赖于密钥的 S 盒 和高度复杂的密钥调度。 #### 非对称加密 - 🌎 [DH](en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) - 一种在公共通道上安全交换加密密钥的方法。与 RSA 不同,Diffie-Hellman 密钥交换不是加密,而只是双方商定共享秘密值的一种方式。由于生成的密钥完全是伪随机的,DH 密钥交换可以提供前向保密。 - 🌎 [ECC](en.wikipedia.org/wiki/Elliptic-curve_cryptography) - 基于有限域上椭圆曲线代数结构的公钥密码系统。 - [RSA](https://en.wikipedia.org/wiki/RSA_(cryptosystem)) - 最早实用的公钥密码系统之一,广泛用于安全数据传输。在 RSA 中,这种不对称性基于分解两个大素数乘积的实际困难,即因数分解问题。 #### 转换加密 - 🌎 [转换加密(又名代理重加密)](docs.ironcorelabs.com/concepts/transform-encryption) - 转换加密使用三个数学相关的密钥:一个用于将明文加密给接收方,第二个用于解密密文,第三个用于将加密给一个接收方的密文转换为可以由另一个接收方解密的密文。 #### 哈希函数 - 🌎 [MD5](en.wikipedia.org/wiki/MD5) - 广泛使用的哈希函数,产生 128 位的哈希值。MD5 最初设计用于加密哈希函数,但被发现存在广泛的漏洞。它仍然可以用作校验和来验证数据完整性,但仅针对意外损坏。 - 🌎 [SHA1](en.wikipedia.org/wiki/SHA-1) - 由 NSA 设计的加密哈希函数。SHA-1 产生一个 160 位的哈希值,称为消息摘要。SHA-1 不再被认为是安全的,无法抵御资金充足的对手。 - 🌎 [SHA2](en.wikipedia.org/wiki/SHA-2) - 由 NSA 设计的一组哈希函数。SHA-256 和 SHA-512 是分别使用 32 位和 64 位字计算的新型哈希函数。它们使用不同的移位量和加法常数,但其结构在其他方面几乎完全相同,仅在轮数上有所不同。 - 🌎 [SHA3](en.wikipedia.org/wiki/SHA-3) - 加密哈希函数,从可变大小的输入数据生成固定大小的输出(通常为 224、256、384 或 512 位)。它是 SHA-3 系列加密算法的一部分,旨在抵抗来自量子计算机的攻击,并提供诸如原像抗性、第二原像抗性和抗碰撞性等安全属性。 ### 文章 - 🌎 [如何在各种编程语言中生成安全的随机数](paragonie.com/blog/2016/05/how-generate-secure-random-numbers-in-various-programming-languages)。 - 🌎 [密码不安全性](www.netlogix.at/news/artikel/password-insecurity-part-1/) - 这篇文章为所有对密码安全感兴趣的人而写。 - 🌎 [简易安全账户恢复](paragonie.com/blog/2016/09/untangling-forget-me-knot-secure-account-recovery-made-simple)。 ### 书籍 - 🌎 [应用密码学研究生课程](crypto.stanford.edu/~dabo/cryptobook/) - 本书涵盖了密码学中不同任务的许多构建。 - [数学密码学导论](http://www.math.brown.edu/~jhs/MathCryptoHome.html) - 现代密码学导论。 - 🌎 [应用密码学:协议、算法和 C 源代码](www.wiley.com/en-ie/Applied+Cryptography%3A+Protocols%2C+Algorithms+and+Source+Code+in+C%2C+20th+Anniversary+Edition-p-9781119439028) - 这部密码学经典著作为您提供了现代密码学的全面概览。 - 🌎 [Crypto101](www.crypto101.io/) - Crypto 101 是密码学的入门课程。 - 🌎 [密码学工程](www.schneier.com/books/cryptography_engineering/) - 学习构建在现实世界中有效的加密协议。 - 🌎 [应用密码学手册](cacr.uwaterloo.ca/hac/) - 本书旨在作为专业密码学家的参考。 - [现代密码学导论](http://www.cs.umd.edu/~jkatz/imc.html) - 从现代计算机科学角度编写的密码学入门级教材。 - 🌎 [OpenSSL 手册](www.feistyduck.com/library/openssl-cookbook/) - 关于 OpenSSL 的书。 - 🌎 [开发者实用密码学](cryptobook.nakov.com) - 对开发者友好的现代密码学书籍(哈希、MAC 码、对称和非对称密码、密钥交换、椭圆曲线、数字签名),包含大量代码示例。 - 🌎 [现实世界密码学](www.manning.com/books/real-world-cryptography/) - 本书教您应用加密技术,以便在系统和应用程序的各个层面理解并应用安全性。 - [安全工程](http://www.cl.cam.ac.uk/~rja14/book.html) - 剑桥大学计算机安全教授 Ross Anderson 编写的一本杰出教科书。 - 🌎 [严肃的密码学](nostarch.com/seriouscrypto) - Jean-Philippe Aumasson 编写的现代加密实用简介。 - 🌎 [密码书](simonsingh.net/books/the-code-book/) - 本书是密码学历史的摘要,涵盖了古代和较新的密码学方法。结尾有练习,解出这些练习曾获得 10,000 美元奖励。 - 🌎 [加密派对手册](unglue.it/work/141611/) - 本书提供了计算机和互联网安全各种主题的综合指南。 - [理解密码学](http://www.crypto-textbook.com/) - 这本书常被忽视,但对初学者来说是一个福音。每章结尾都有大量练习,旨在巩固概念和强化想法。 ### 课程 - 🌎 [分组密码分析自学课程](www.schneier.com/wp-content/uploads/2016/02/paper-self-study.pdf) - 本文试图以学生可以用来学习密码分析技术和破解算法的方式组织现有的分组密码分析文献,作者 Bruce Schneier。 - 🌎 [应用密码学](www.udacity.com/course/applied-cryptography--cs387) - 密码学存在于日常生活中,从信用卡支付到使用电话。学习所有关于在计算中制作和破解谜题的知识。 - 🌎 [密码学的反击!](www.youtube.com/watch?v=ySQl0NhW1J0) - 本讲座将涵盖广泛部署系统中的加密漏洞,以及最小的疏忽如何导致灾难。 - 🌎 [密码学](www.coursera.org/learn/cryptography) - 马里兰大学帕克分校的实用密码学课程。 - [密码学 - 斯坦福大学](http://online.stanford.edu/course/cryptography) - 本课程解释了加密原语的内部工作原理以及如何正确使用它们。学生将学习如何推理加密结构的安全性,以及如何将此知识应用于现实世界的应用程序。 - 🌎 [密码学 101:构建块](cryptography101.ca/crypto101-building-blocks/) - Alfred Menezes 的入门课程(2024 年秋季),涵盖基本的加密原语:对称密钥加密、哈希函数、MAC、认证加密、公钥加密、签名、密钥协商、RSA、椭圆曲线密码学。 - 🌎 [密码学 I](www.coursera.org/learn/crypto) - 课程首先详细讨论了拥有共享密钥的双方如何在强大的对手窃听和篡改流量的情况下安全通信。我们将检查许多已部署的协议并分析现有系统中的错误。 - 🌎 [Cybrary 密码学](www.cybrary.it/course/cryptography/) - 在本在线课程中,我们将涵盖密码学如何成为安全的基石,以及如何通过使用不同的加密方法(如密码以及公钥或私钥)来保护私有或敏感信息免受未经授权的访问。 - 🌎 [哈佛密码学讲义](intensecrypto.org/) - 入门但节奏较快的本科生/初级研究生密码学课程,用于哈佛 CS 127。 - 🌎 [密码学之旅](www.khanacademy.org/computing/computer-science/cryptography) - 可汗学院的密码学课程。 - [现代密码学的实践方面](http://courses.cs.washington.edu/courses/csep590/06wi/) - 现代密码学的实践方面,2006 年冬季华盛顿大学 CSE。 - 🌎 [密码学的理论与实践](www.youtube.com/watch?v=ZDnShu5V99s) - 现代密码学导论,在实践中使用密码学(如在 Google),安全性证明和安全定义,以及密码学专题。 ### 其他列表 -   2010⭐    146🍴 [Awesome crypto-papers](https://github.com/pFarb/awesome-crypto-papers)) – 精选的密码学论文、文章、教程和操作指南列表。 -   1246⭐     94🍴 [Awesome HE](https://github.com/jonaschn/awesome-he)) – 精选的同态加密库、软件和资源列表。 - 🌎 [TLS 密码套件](stellastra.com/cipher-suite) - TLS 密码套件及其安全评级列表。 ## 工具 ### 独立工具 - [Bcrypt](http://bcrypt.sourceforge.net/) - 跨平台文件加密工具。 -   6772⭐    387🍴 [blackbox](https://github.com/StackExchange/blackbox)) - 在 Git/Mercurial/Subversion 中安全存储机密。 -  32962⭐   3500🍴 [certbot](https://github.com/certbot/certbot)) - 前身为 Let's Encrypt 客户端,是 EFF 的工具,用于从 Let's Encrypt 获取证书,并(可选)在您的服务器上自动启用 HTTPS。它也可以作为任何其他使用 ACME 协议的 CA 的客户端。 -      ?⭐      ?🍴 [Coherence](https://github.com/liesware/coherence/)) - 现代网络应用程序的加密服务器。 -  14870⭐   1276🍴 [cryptomator](https://github.com/cryptomator/cryptomator)) - 多平台透明的客户端云文件加密。 - 🌎 [Databunker](databunker.org/) - 基于 API 的个人数据或 PII 存储服务,符合 GDPR 和 CCPA。 - 🌎 [gpg](www.gnupg.org/) - OpenPGP 标准的完整且免费的实现。它允许加密和签名您的数据和通信,具有通用的密钥管理系统。GnuPG 是一个命令行工具,具有易于与其他应用程序集成的功能。 -     64⭐      5🍴 [ironssh](https://github.com/IronCoreLabs/ironssh - 使用 sftp/scp 对传输的文件进行端到端加密,并选择性地与他人共享。自动密钥管理适用于任何 SSH 服务器。加密文件与 gpg 兼容。 -   2317⭐    335🍴 [Nipe](https://github.com/GouveaHeitor/nipe)) - Nipe 是一个使 Tor 网络成为您默认网关的脚本。 -  21365⭐   1015🍴 [sops](https://github.com/mozilla/sops)) - sops 是一个加密文件编辑器,支持 YAML、JSON 和 BINARY 格式,并使用 AWS KMS、GCP KMS、Azure Key Vault 和 PGP 进行加密。 - 🌎 [ves](ves.host/docs/ves-util) - 通过云存储库进行端到端加密共享,在密钥丢失时通过朋友病毒式网络进行安全恢复。 ### 插件 #### Git -   9559⭐    525🍴 [git-crypt](https://github.com/AGWA/git-crypt)) - git 中的透明文件加密。 - 🌎 [git-secret](sobolevn.github.io/git-secret/) - Bash 工具,用于在 git 存储库中存储私有数据。 ### 演练场 - 🌎 [密码学演练场](vishwas1.github.io/crypto/index.html#/crypto) - 一个简单的网络工具,用于学习和实践密码学的基本概念,如哈希、对称、非对称、zkp 等。 ## 框架和库 ### C -   2005⭐    711🍴 [crypto-algorithms](https://github.com/B-Con/crypto-algorithms)) - 标准密码学算法的基本实现,如 AES 和 SHA-1。 - [libgcrypt](http://directory.fsf.org/wiki/Libgcrypt) - 作为 GnuPG 分离模块开发的加密库。 -    191⭐     77🍴 [libkcapi](https://github.com/smuellerDD/libkcapi)) - Linux 内核加密 API 用户空间接口库。 -  13568⭐   1864🍴 [libsodium](https://github.com/jedisct1/libsodium)) - 现代且易于使用的加密库。 -   1760⭐    493🍴 [libtomcrypt](https://github.com/libtom/libtomcrypt)) - 相当全面、模块化且可移植的加密工具包。 -     39⭐      8🍴 [libVES.c](https://github.com/vesvault/libVES.c)) - 通过云存储库进行端到端加密共享,在密钥丢失时通过朋友病毒式网络进行安全恢复。 -     39⭐     14🍴 [milagro-crypto-c](https://github.com/apache/incubator-milagro-crypto-c)) - 小型、独立且快速的开源加密库。支持 RSA、ECDH、ECIES、ECDSA、AES-GCM、SHA2、SHA3 和基于配对的密码学。 - 🌎 [monocypher](monocypher.org) - 小型、可移植、易于使用的加密库,灵感来自 libsodium 和 TweetNaCl。 - 🌎 [NaCl](nacl.cr.yp.to/) - 用于网络通信、加密、解密、签名等的高速库。 -     73⭐     33🍴 [nettle](https://github.com/gnutls/nettle)) - 一个加密库,旨在轻松适应几乎任何环境:面向对象语言 (C++, Python, Pike, ...) 的加密工具包,LSH 或 GNUPG 等应用程序,甚至内核空间。 -  29877⭐  11167🍴 [OpenSSL](https://github.com/openssl/openssl)) - TLS/SSL 和加密库。 - 🌎 [PolarSSL](tls.mbed.org/) - PolarSSL 让开发者在其(嵌入式)产品中包含加密和 SSL/TLS 功能变得轻而易举,以最少的代码占用促进此功能。 -    706⭐    125🍴 [RHash](https://github.com/rhash/RHash)) - 用于计算哈希值的出色工具。 -   1957⭐    158🍴 [themis](https://github.com/cossacklabs/themis)) - 高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。移植到多种语言和平台,适用于客户端-服务器基础设施。 -   4906⭐   1389🍴 [tiny-AES128-C](https://github.com/kokke/tiny-AES128-C)) - C 语言实现的小型可移植 AES128。 -   2790⭐    957🍴 [wolfSSL](https://github.com/wolfSSL/wolfssl)) - 针对嵌入式设备到云的小型、快速、可移植的 TLS/SSL 实现。 -    643⭐    207🍴 [XKCP](https://github.com/XKCP/XKCP)) — 是一个存储库,收集了 Keccak 团队定义的加密方案的不同免费开源实现。 -  10970⭐    889🍴 [xxHash](https://github.com/Cyan4973/xxHash)) - 极快的哈希算法。 ### C++ -     87⭐     12🍴 [=nil; Crypto3](https://github.com/NilFoundation/crypto3)) - C++17 现代密码学套件(完整的应用密码学套件,从分组密码开始,到阈值密码学、zk 证明系统等)。 - 🌎 [Botan](botan.randombit.net/) - 用 `C++20` 编写的加密库。 -   5439⭐   1670🍴 [cryptopp](https://github.com/weidai11/cryptopp)) - Crypto++ 库是一个免费的加密方案 C++ 类库。 -    105⭐      1🍴 [HElib](https://github.com/shaih/HElib)) - 实现同态加密 (HE) 的软件库。 - [Nettle](http://www.lysator.liu.se/~nisse/nettle/) - 底层加密库。 -   4700⭐    770🍴 [s2n](https://github.com/awslabs/s2n)) - TLS/SSL 协议的实现。 ### C-sharp - 🌎 [Bouncy Castle](bouncycastle.org/csharp/index.html) - 通用加密库。 -      ?⭐      ?🍴 [libsodium-net](https://github.com/adamcaudill/libsodium-net)) - 安全加密库,libsodium 的 .NET 移植。 - 🌎 [Microsoft .NET Framework 加密模型](docs.microsoft.com/en-us/dotnet/standard/security/cryptography-model) - 许多标准加密算法的 .NET Framework 实现。 -    225⭐     55🍴 [PCLCrypto](https://github.com/AArnott/PCLCrypto)) - 提供基于平台实现的算法的加密 API,包括将其公开给可移植库。 -    585⭐     47🍴 [SecurityDriven.Inferno](https://github.com/sdrapkin/SecurityDriven.Inferno)) - 正确的 .NET 加密。 -    132⭐     28🍴 [StreamCryptor](https://github.com/bitbeans/StreamCryptor)) - 使用 libsodium 和 protobuf 的流加密和解密。 ### Clojure - 🌎 [buddy-core](funcool.github.io/buddy-core/latest/) - 加密 API。 -      ?⭐      ?🍴 [clj-crypto](https://github.com/macourtney/clj-crypto/)) - Bouncy Castle 的包装器。 -    220⭐     11🍴 [pandect](https://github.com/xsc/pandect)) - 快速且易于使用的 Clojure 消息摘要、校验和和 HMAC 库。 -     98⭐      2🍴 [secrets.clj](https://github.com/lk-geimfari/secrets.clj)) - Clojure 库,旨在生成加密强度高的随机数,适合管理密码、账户身份验证、安全令牌和相关机密等数据。 ### Common Lisp -     25⭐      1🍴 [crypto-shortcuts](https://github.com/Shinmera/crypto-shortcuts)) - 常用加密函数集合。 - [ironclad](http://method-combination.net/lisp/ironclad/) - 常用加密快捷方式集合。 -     46⭐      7🍴 [trivial-ssh](https://github.com/eudoxia0/trivial-ssh)) - Common Lisp 的 SSH 客户端库(基于 libssh2 构建)。 ### Delphi -      ?⭐      ?🍴 [DelphiEncryptionCompendium](https://github.com/winkelsdorf/DelphiEncryptionCompendium/releases)) - Delphi 加密库。 - 🌎 [LockBox](sourceforge.net/projects/tplockbox/) - LockBox 3 是 Delphi 加密库。 -    819⭐    325🍴 [SynCrypto](https://github.com/synopse/mORMot/blob/master/SynCrypto.pas)) - 快速加密例程(哈希和密码),实现 AES、XOR、RC4、ADLER32、MD5、SHA1、SHA256 算法,针对速度进行了优化。 - 🌎 [TForge](bitbucket.org/sergworks/tforge) - TForge 是用 Delphi 编写的开源加密库,与 FPC 兼容。 ### Elixir -     62⭐     23🍴 [cipher](https://github.com/rubencaro/cipher)) - 用于加密/解密任意二进制文件的 Elixir 加密库。 -    618⭐     56🍴 [cloak](https://github.com/danielberkompas/cloak)) - Cloak 使在 Ecto 中使用加密变得容易。 -   1318⭐     64🍴 [comeonin](https://github.com/elixircnx/comeonin)) - Elixir 的密码授权 (bcrypt) 库。 -     36⭐      2🍴 [ir-rsa](https://github.com/trapped/elixir-rsa)) - Elixir 的 `:public_key` 加密包装器。 -      3⭐      1🍴 [elixir_tea](https://github.com/keichan34/elixir_tea)) - Elixir 中的 TEA 实现。 -    159⭐     51🍴 [ex_crypto](https://github.com/ntrepid8/ex_crypto)) - Erlang `:crypto` 和 `:public_key` 模块的 Elixir 包装器。为许多加密函数提供合理的默认值,使其更易于使用。 -     19⭐      5🍴 [exgpg](https://github.com/rozap/exgpg)) - 在 Elixir 中使用 gpg。 -    242⭐     37🍴 [pot](https://github.com/yuce/pot)) - 用于生成与 Google Authenticator 兼容的一次性密码的 Erlang 库。 -     19⭐      2🍴 [siphash-elixir](https://github.com/zackehh/siphash-elixir)) - SipHash 哈希系列的 Elixir 实现。 ### Erlang - [crypto](http://erlang.org/doc/apps/crypto/) - 用于计算消息摘要的函数,以及用于加密和解密的函数。 - [public_key](http://erlang.org/doc/man/public_key.html) - 提供处理公钥基础设施的函数。 ### Go - 🌎 [crypto](golang.org/pkg/crypto/) - 官方网站资源。 -    112⭐     16🍴 [dkeyczar](https://github.com/dgryski/dkeyczar)) - Google Keyczar 加密库的 Go 移植。 -    158⭐     33🍴 [gocrypto](https://github.com/kisom/gocrypto)) - 《Practical Crypto with Go》书籍的示例源代码。 -      ?⭐      ?🍴 [goThemis](https://github.com/cossacklabs/themis/wiki/Go-Howto)) - Themis 的 Go 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 -    690⭐    175🍴 [kyber](https://github.com/dedis/kyber)) - Go 语言的高级加密库。 ### Haskell - [Cryptography](http://hackage.haskell.org/packages/#cat:Cryptography) - 协作 Hackage 列表。 - 🌎 [Cryptography & Hashing](wiki.haskell.org/Applications_and_libraries/Cryptography) - Haskell 官方网站。 -   1199⭐    128🍴 [cryptol](https://github.com/GaloisInc/cryptol)) - 密码学语言。 - 🌎 [Cryptonite](hackage.haskell.org/package/cryptonite) - 加密原语的 Haskell 存储库。 -     19⭐     22🍴 [HsOpenSSL](https://github.com/phonohawk/HsOpenSSL)) - Haskell 的 OpenSSL 绑定。 -     18⭐     10🍴 [scrypt](https://github.com/informatikr/scrypt)) - Colin Percival 的 scrypt 实现的 Haskell 绑定。 ### Haxe - [haxe-crypto](http://lib.haxe.org/p/haxe-crypto/) - Haxe 加密库。 ### JavaScript -      ?⭐      ?🍴 [asmCrypto](https://github.com/vibornoff/asmcrypto.js/)) - 考虑性能的流行加密工具的 JavaScript 实现。 -      ?⭐      ?🍴 [bcrypt-Node.js](https://github.com/shaneGirish/bcrypt-Node.js)) - Node.js 的原生 bcrypt 实现。 -    124⭐      4🍴 [cifre](https://github.com/openpeer/cifre)) - 现代客户端 JavaScript 的快速加密工具包。 -   4900⭐   1056🍴 [closure-library](https://github.com/google/closure-library/tree/master/closure/goog/crypt)) - Google 的通用 JavaScript 库。 -   1181⭐    342🍴 [cryptico](https://github.com/wwwtyro/cryptico)) - 利用 RSA 和 AES 的易于使用的 JavaScript 加密系统。 -  16398⭐   2503🍴 [crypto-js](https://github.com/brix/crypto-js)) - 加密标准的 JavaScript 库。 -    327⭐     74🍴 [cryptojs](https://github.com/gwjjeff/cryptojs)) - 为 Node.js 提供标准和安全的加密算法。 -   5284⭐    833🍴 [forge](https://github.com/digitalbazaar/forge)) - TLS 的 JavaScript 原生实现,以及用于编写基于加密和网络密集型 Web 应用程序的工具。 - 🌎 [IronNode](docs.ironcorelabs.com/ironnode-sdk/overview) - 转换加密库,代理重加密的一种变体,用于加密给用户或组,并轻松向 Node.js 应用程序添加强大的数据控制。 - 🌎 [IronWeb](docs.ironcorelabs.com/ironweb-sdk/overview) - 转换加密库,代理重加密的一种变体,用于在浏览器中轻松安全管理端到端加密。 -    286⭐     45🍴 [javascript-crypto-library](https://github.com/clipperz/javascript-crypto-library)) - JavaScript 加密库为 Web 开发者提供了一套广泛而高效的加密函数。 -    493⭐     47🍴 [js-nacl](https://github.com/tonyg/js-nacl)) - Emscripten 编译的 libsodium 例程的纯 JavaScript 高级 API。 -   6805⭐   2008🍴 [jsencrypt](https://github.com/travist/jsencrypt)) - 执行 OpenSSL RSA 加密、解密和密钥生成的 JavaScript 库。 -    724⭐    135🍴 [JShashes](https://github.com/h2non/jshashes)) - 快速且无依赖的 Node.js 和浏览器加密哈希库(支持 MD5、SHA1、SHA256、SHA512、RIPEMD、HMAC)。 -   3369⭐    649🍴 [jsrsasign](https://github.com/kjur/jsrsasign)) - 'jsrsasign'(RSA-Sign JavaScript 库)是一个开源免费加密库,支持 RSA/RSAPSS/ECDSA/DSA 签名/验证。 -      ?⭐      ?🍴 [jsThemis](https://github.com/cossacklabs/themis/wiki/Nodejs-Howto)) - Themis 的 JavaScript 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 -   1127⭐    159🍴 [libsodium.js](https://github.com/jedisct1/libsodium.js)) - 编译为纯 JavaScript 的 libsodium,带有方便的包装器。 -     10⭐      1🍴 [libVES.js](https://github.com/vesvault/libVES)) - 通过云存储库进行端到端加密共享,在密钥丢失时通过朋友病毒式网络进行安全恢复。 -     22⭐      1🍴 [micro-rsa-dsa-dh](https://github.com/paulmillr/micro-rsa-dsa-dh)) - 较旧加密算法的最小实现:RSA、DSA、DH、ElGamal。 -     19⭐      7🍴 [milagro-crypto-js](https://github.com/apache/incubator-milagro-crypto-js)) - MCJS 是符合标准的 JavaScript 加密库,除随机种子源外无外部依赖。兼容 Node.js 和浏览器。支持 RSA、ECDH、ECIES、ECDSA、AES-GCM、SHA2、SHA3、基于配对的密码学和 New Hope。 - noble - 高安全性、易于审计的包含加密库和工具集。每个都零依赖。 -    377⭐     23🍴 [noble-ciphers](https://github.com/paulmillr/noble-ciphers)) — 加密密码,包括 AES-SIV、Salsa20、ChaCha、Poly1305 和 FF1 -    894⭐     87🍴 [noble-curves](https://github.com/paulmillr/noble-curves)) — 椭圆曲线密码学,包括 Weierstrass、Edwards、Montgomery 曲线、配对、hash-to-curve、poseidon 哈希、schnorr、secp256k1、ed25519、ed448、p521、bn254、bls12-381 等。还有 4kb    869⭐    125🍴 [noble-secp256k1](https://github.com/paulmillr/noble-secp256k1)),    503⭐     65🍴 [noble-ed25519](https://github.com/paulmillr/noble-ed25519)) -    842⭐     62🍴 [noble-hashes](https://github.com/paulmillr/noble-hashes)) — SHA2、SHA3、RIPEMD、BLAKE2/3、HMAC、HKDF、PBKDF2、Scrypt & Argon2id -    306⭐     34🍴 [noble-post-quantum](https://github.com/paulmillr/noble-post-quantum)) — ML-KEM、ML-DSA、SLH-DSA (CRYSTALS-Kyber、CRYSTALS-Dilithium、Sphincs+) 和混合 -   7782⭐    548🍴 [node.bcrypt.js](https://github.com/ncb000gt/node.bcrypt.js)) - Node.js 的 bcrypt。 -b>  5942⭐    822🍴 [OpenPGP.js](https://github.com/openpgpjs/openpgpjs)) - JavaScript 的 OpenPGP 实现。 -    266⭐     21🍴 [PolyCrypt](https://github.com/polycrypt/polycrypt)) - WebCrypto API 的纯 JS 实现。 -    279⭐     32🍴 [rusha](https://github.com/srijs/rusha)) - 高性能纯 javascript SHA1 实现,适用于大型二进制数据,速度达到原生速度的一半。 -   7224⭐    996🍴 [sjcl](https://github.com/bitwiseshiftleft/sjcl)) - 斯坦福 JavaScript 加密库。 -   1920⭐    295🍴 [TweetNaCl.js](https://github.com/dchest/tweetnacl-js)) - TweetNaCl / NaCl 的 JavaScript 移植,适用于现代浏览器和 Node.js。 -    615⭐    134🍴 [URSA](https://github.com/quartzjer/ursa)) - Node 的 RSA 公钥/私钥 OpenSSL 绑定。 ### Java - [Apache Shiro](http://shiro.apache.org/) - 执行身份验证、授权、加密和会话管理。 - 🌎 [Bouncy Castle](www.bouncycastle.org/java.html) - 通用加密库。JCA 提供者,功能范围从基本助手到 PGP/SMIME 操作。 - [Flexiprovider](http://www.flexiprovider.de/) - Java 加密架构的强大工具包。 -     32⭐      5🍴 [GDH](https://github.com/maxamel/GDH)) - 基于 Vert.x 框架构建的多方广义 Diffie-Hellman 密钥交换 Java 库。 -    270⭐     28🍴 [Google Tink](https://github.com/tink-crypto/tink-java)) - 一个小型加密库,提供安全、简单、敏捷和快速的方式来完成一些常见的加密任务。 -      ?⭐      ?🍴 [Java Themis](https://github.com/cossacklabs/themis/wiki/Java-and-Android-Howto)) - Themis 的 Java/Android 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 - [jbcrypt](http://www.mindrot.org/projects/jBCrypt/) - jBCrypt 是 OpenBSD Blowfish 密码哈希算法的实现。 算法。 -  33703⭐   8214🍴 [Keycloak](https://github.com/keycloak/keycloak)) - 现代应用程序和服务的开源身份和访问管理。 -   2516⭐    707🍴 [pac4j](https://github.com/pac4j/pac4j)) - 安全引擎。 -    418⭐     36🍴 [Password4j](https://github.com/Password4j/password4j)) - 一个 Java 用户友好的加密库,用于使用不同的密钥派生函数 (KDF) 和加密哈希函数 (CHF) 哈希和检查密码。 - [Project Kalium](http://abstractj.github.io/kalium/) - Java 绑定到网络和加密 (NaCl) 库,具有 libsodium 的优秀特性。 -    434⭐    145🍴 [scrypt](https://github.com/wg/scrypt)) - scrypt 密钥派生函数的纯 Java 实现和 C 实现的 JNI 接口,包括 SSE2 优化版本。 -     47⭐      4🍴 [securitybuilder](https://github.com/tersesystems/securitybuilder)) - JCA/JSSE 对象的流畅构建器 API。 ### Julia -     11⭐     13🍴 [Crypto.jl](https://github.com/danielsuo/Crypto.jl)) - 包装 OpenSSL 的库,但也有纯 Julia 实现以供参考。 -     42⭐     48🍴 [MbedTLS.jl](https://github.com/JuliaWeb/MbedTLS.jl)) - mbed TLS 和加密 C 库的包装器。 -     59⭐     34🍴 [Nettle.jl](https://github.com/staticfloat/Nettle.jl)) - nettle 加密哈希/加密库的 Julia 包装器,提供 MD5、SHA1、SHA2 哈希和 HMAC 功能,以及 AES 加密/解密。 -     52⭐     37🍴 [SHA.jl](https://github.com/staticfloat/SHA.jl)) - 高性能、100% 原生 julia SHA1、SHA2-{224,256,384,512} 实现。 ### Lua -    375⭐     71🍴 [lua-lockbox](https://github.com/somesocks/lua-lockbox)) - 用纯 Lua 编写的加密原语集合。 -    105⭐     69🍴 [LuaCrypto](https://github.com/mkottman/luacrypto)) - OpenSSL 的 Lua 绑定。 ### OCaml -     94⭐     29🍴 [Digestif](https://github.com/mirage/digestif)) - 是一个在 C 和 OCaml 中实现各种加密原语的工具箱。 -    319⭐     70🍴 [ocaml-tls](https://github.com/mirleft/ocaml-tls)) - 纯 OCaml 实现的 TLS。 ### Objective-C -   1133⭐    191🍴 [CocoaSecurity](https://github.com/kelp404/CocoaSecurity)) - AES、MD5、SHA1、SHA224、SHA256、SHA384、SHA512、Base64、Hex。 -      ?⭐      ?🍴 [ObjC Themis](https://github.com/cossacklabs/themis/wiki/Objective-C-Howto)) - Themis 的 ObjC 包装器,用于 iOS 和 macOS。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 -    719⭐    119🍴 [ObjectivePGP](https://github.com/krzyzanowskim/ObjectivePGP)) - ObjectivePGP 是 iOS 和 macOS 的 OpenPGP 协议实现。OpenPGP 是使用最广泛的电子邮件加密标准。 -   3364⭐    516🍴 [RNCryptor](https://github.com/RNCryptor/RNCryptor)) - iOS 和 Mac 的 CCCryptor(AES 加密)包装器。 ### PHP - 🌎 [halite](paragonie.com/project/halite) - 使用 `libsodium` 的简单加密库。 -     23⭐      5🍴 [libsodium-laravel](https://github.com/scrothers/libsodium-laravel)) - 使用 `libsodium` 的 Laravel 包抽象。 -   3872⭐    312🍴 [PHP Encryption](https://github.com/defuse/php-encryption)) - 在 PHP 中使用密钥或密码加密数据的库。 -      ?⭐      ?🍴 [PHP Themis](https://github.com/cossacklabs/themis/wiki/PHP-Howto)) - Themis 的 PHP 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 -     59⭐     12🍴 [TCrypto](https://github.com/timoh6/TCrypto)) - TCrypto 是一个简单灵活的 PHP 5.3+ 内存键值存储库。 ### Python -   1468⭐    214🍴 [bcrypt](https://github.com/pyca/bcrypt)) - 适用于您的软件和服务器的现代密码哈希。 -    634⭐    171🍴 [charm](https://github.com/JHUISI/charm)) - 用于快速原型设计密码系统的框架。 -     22⭐      3🍴 [Crypto-Vinaigrette](https://github.com/aditisrinivas97/Crypto-Vinaigrette)) - 抗量子非对称密钥生成工具,用于数字签名。 - 🌎 [cryptography](cryptography.io/en/latest/) - 公开加密配方和原语的 Python 库。 - 🌎 [cryptopy](sourceforge.net/projects/cryptopy/) - 加密算法和应用程序的纯 Python 实现。 -    410⭐     89🍴 [django-cryptography](https://github.com/georgemarshall/django-cryptography)) - 在 Django 中轻松加密数据。 -    971⭐    334🍴 [ecdsa](https://github.com/tlsfuzzer/python-ecdsa)) - 易于使用的 ECC 实现,支持 ECDSA 和 ECDH。 -   1422⭐    103🍴 [hashids](https://github.com/davidaurelio/hashids-python)) - Python 中的 [hashids](http://hashids.org) 实现。 - [paramiko](http://www.paramiko.org/) - SSHv2 协议的 Python 实现,提供客户端和服务器功能。 -    255⭐     16🍴 [Privy](https://github.com/ofek/privy)) - 一个简单、快速的库,用于正确地用密码保护您的数据。 -   3218⭐    551🍴 [pycryptodome](https://github.com/Legrandin/pycryptodome)) - 低级加密原语的自包含 Python 包。 - <>   134⭐     58🍴 [PyElliptic](https://github.com/yann2192/pyelliptic)) - Python OpenSSL 包装器。用于现代加密,支持 ECC、AES、HMAC、Blowfish。 -   1188⭐    255🍴 [pynacl](https://github.com/pyca/pynacl)) - 网络和加密 (NaCl) 库的 Python 绑定。 -      ?⭐      ?🍴 [pythemis](https://github.com/cossacklabs/themis/wiki/Python-Howto)) - Themis 的 Python 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 ### R -     33⭐     11🍴 [rscrypt](https://github.com/rstudio/rscrypt)) - scrypt 加密函数集合的包。 ### Ruby -   1970⭐    287🍴 [bcrypt-ruby](https://github.com/codahale/bcrypt-ruby)) - OpenBSD bcrypt() 密码哈希算法的 Ruby 绑定,允许您轻松存储用户密码的安全哈希。 -    987⭐     93🍴 [RbNaCl](https://github.com/cryptosphere/rbnacl)) - 网络和加密 (NaCl) 库的 Ruby 绑定。 -      ?⭐      ?🍴 [Ruby Themis](https://github.com/cossacklabs/themis/wiki/Ruby-Howto)) - Themis 的 Ruby 包装器。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 ### Rust -    907⭐    185🍴 [AEADs](https://github.com/RustCrypto/AEADs)) - 关联数据认证加密算法:高级加密密码。 -   6137⭐    447🍴 [BLAKE3](https://github.com/BLAKE3-team/BLAKE3)) - 是 BLAKE3 加密哈希函数的官方 Rust 和 C 实现。 -     45⭐     19🍴 [botan-rs](https://github.com/randombit/botan-rs)) - Rust 的 Botan 绑定。 -    223⭐     29🍴 [cryptoballot](https://github.com/cryptoballot/cryptoballot)) - 加密安全的在线投票。 -      ?⭐      ?🍴 [dalek cryptography](https://github.com/dalek-cryptography/)) - 快速且安全的中级 ECC API、Bulletproofs 等。 -    332⭐     19🍴 [dryoc](https://github.com/brndnmtthws/dryoc)) - 纯 Rust 通用加密库,实现 libsodium 原语。 -    843⭐    273🍴 [elliptic-curves](https://github.com/RustCrypto/elliptic-curves)) - 纯 Rust 椭圆曲线实现集合:NIST P-224、P-256、P-384、P-521、secp256k1、SM2。 -    315⭐    172🍴 [formats](https://github.com/RustCrypto/formats)) - 加密相关格式编码器/解码器:DER、PEM、PKCS、PKIX。 -   2201⭐    312🍴 [hashes](https://github.com/RustCrypto/hashes)) - 用纯 Rust 编写的加密哈希函数集合。 -   1080⭐     42🍴 [mundane](https://github.com/google/mundane)) - 是由 BoringSSL 支持的 Rust 加密库,难以误用、符合人体工程学且性能出色。 -   4609⭐    558🍴 [ockam](https://github.com/ockam-network/ockam)) - 是用于端到端加密和相互身份验证的 Rust 库。 -    141⭐     18🍴 [octavo](https://github.com/libOctavo/octavo)) - 高度模块化和可配置的哈希和加密库。 -    715⭐     54🍴 [orion](https://github.com/orion-rs/orion)) - 是用纯 Rust 编写的加密库。它旨在提供简单可用的加密,同时尽量减少不安全代码的使用。 -    879⭐    106🍴 [password-hashes](https://github.com/RustCrypto/password-hashes)) - 密码哈希算法集合,也称为基于密码的密钥派生函数,用纯 Rust 编写。 -    418⭐     34🍴 [proteus](https://github.com/wireapp/proteus)) - Rust 中的 Axolotl 协议实现,无头密钥。 -   3394⭐    149🍴 [rage](https://github.com/str4d/rage)) - 是一个简单、现代且安全的文件加密工具,使用 age 格式。 -    165⭐     23🍴 [recrypt](https://github.com/IronCoreLabs/recrypt-rs)) - 纯 Rust 库,实现用于构建多跳代理重加密方案(称为转换加密)的加密原语。 -   4069⭐    786🍴 [ring](https://github.com/briansmith/ring)) - 使用 Rust 和 BoringSSL 加密原语的安全、快速、小型加密。 -    341⭐     47🍴 [ronkathon](https://github.com/pluto/ronkathon)) - Rust 中的教育性、数学透明、文档齐全的密码学。 -   1450⭐    304🍴 [rust-crypto](https://github.com/DaGenix/rust-crypto)) - 各种加密算法的大部分纯 Rust 实现。 -   1604⭐    811🍴 [rust-openssl](https://github.com/sfackler/rust-openssl)) - Rust 的 OpenSSL 绑定。 -   7324⭐    812🍴 [rustls](https://github.com/ctz/rustls)) - Rustls 是一个用 Rust 编写的新现代 TLS 库。 -    614⭐    177🍴 [signatures](https://github.com/RustCrypto/signatures)) - 加密签名算法:DSA、ECDSA、Ed25519。 -   1058⭐    133🍴 [snow](https://github.com/mcginty/snow?tab=readme-ov-file)) - Trevor Perrin 的 🌎 [Noise 协议](noiseprotocol.org/noise.html)的纯 Rust 实现。 -    645⭐    178🍴 [sodiumoxide](https://github.com/dnaq/sodiumoxide)) - Sodium Oxide:Rust 的快速加密库(绑定到 libsodium)。 -    126⭐     14🍴 [suruga](https://github.com/klutzy/suruga)) - Rust 中的 TLS 1.2 实现。 -    479⭐    163🍴 [webpki](https://github.com/briansmith/webpki)) - Rust 中的 Web PKI TLS X.509 证书验证。 ### Scala -     36⭐      4🍴 [recrypt](https://github.com/IronCoreLabs/recrypt)) - Scala 的转换加密库。 -    204⭐     47🍴 [scrypto](https://github.com/input-output-hk/scrypto)) - Scala 的加密原语。 -    352⭐     56🍴 [tsec](https://github.com/jmcardon/tsec)) - 类型安全、函数式、通用安全和加密库。 ### Scheme -      4⭐      1🍴 [chicken-sodium](https://github.com/caolan/chicken-sodium)) - Chicken Scheme 的 libsodium 加密库绑定。 - 🌎 [crypto-tools](wiki.call-cc.org/eggref/5/crypto-tools) - Chicken Scheme 的有用加密原语。 - 🌎 [guile-gnutls](gitlab.com/gnutls/guile/) - GNU Guile 的 GnuTLS 绑定。 -     71⭐     13🍴 [guile-ssh](https://github.com/artyom-poptsov/guile-ssh)) - GNU Guile 的 libssh 绑定。 - 🌎 [industria](gitlab.com/weinholt/industria) - 各种加密原语、OpenSSH、DNS。 ### Swift -  10549⭐   1797🍴 [CryptoSwift](https://github.com/krzyzanowskim/CryptoSwift)) - 用 Swift 编程语言实现的 Swift 加密相关函数和助手。 -    478⭐     81🍴 [IDZSwiftCommonCrypto](https://github.com/iosdevzone/IDZSwiftCommonCrypto)) - Apple 的 🌎 [CommonCrypto](opensource.apple.com/source/CommonCrypto/) 库的 Swift 包装器。 -     41⭐     18🍴 [OpenSSL](https://github.com/Zewo/OpenSSL)) - 适用于 macOS 和 Linux 的 Swift OpenSSL。 -      5🍴 [SweetHMAC](https://github.com/jancassio/SweetHMAC)) - 小巧且易于使用的 Swift 类,用于使用 HMAC 算法加密字符串。 -    546⭐    203🍴 [Swift-Sodium](https://github.com/jedisct1/swift-sodium)) - 用于 iOS 和 macOS 的常见加密操作的 Sodium 库的 Swift 接口。 -      ?⭐      ?🍴 [SwiftSSL](https://github.com/SwiftP2P/SwiftSSL)) - Swift 中优雅的加密工具包。 -      ?⭐      ?🍴 [SwiftThemis](https://github.com/cossacklabs/themis/wiki/Swift-Howto)) - Themis 的 Swift 包装器,用于 iOS 和 macOS。高级加密库,用于存储数据 (AES)、安全消息传递 (ECC + ECDSA / RSA + PSS + PKCS#7) 和面向会话的前向保密数据交换 (ECDH 密钥协商, ECC & AES 加密)。 ## 资源 ### 博客 - [关于加密工程的一些想法](http://blog.cryptographyengineering.com/) - 关于加密的一些随机想法。 - [布里斯托尔密码学博客](http://bristolcrypto.blogspot.co.uk/) - 布里斯托尔大学密码学研究小组的官方博客。这是一个群组博客,主要面向密码学家和密码学学生。 - 🌎 [Charles Engelke 的博客](blog.engelke.com/tag/webcrypto/) - WebCrypto 博客文章。 - 🌎 [Root Labs rdist](rdist.root.org/) - Nate Lawson 和他的合著者撰写各种主题,包括硬件实现、加密时序攻击、DRM 和 Commodore 64。 - 🌎 [Salty Hash](blog.ironcorelabs.com) - 涵盖加密、数据控制、隐私和安全等主题。 - 🌎 [Schneier on security](www.schneier.com/) - 最古老和最著名的安全博客之一。Bruce 涵盖从分组密码分析到机场安全的主题。 ### 邮件列表 - [metzdowd.com](http://www.metzdowd.com/mailman/listinfo/cryptography) - "Cryptography" 是一个致力于加密技术及其政治影响的低噪音审核邮件列表。 - 🌎 [Modern Crypto](moderncrypto.org/) - 讨论现代密码学实践的论坛。 - 🌎 [randombit.net](lists.randombit.net/mailman/listinfo/cryptography) - 一般密码学讨论列表,特别是技术方面。 ### Web 工具 - 🌎 [Boxentriq](www.boxentriq.com/code-breaking) - 易于使用的工具,用于分析和破解最常见的密码,包括 Vigenère、Beaufort、Keyed Caesar、Transposition Ciphers 等。 - [Cryptolab](http://manansingh.github.io/Cryptolab-Offline/cryptolab.html) - 是一组与加密相关的工具。 - [CrypTool](http://www.cryptool-online.org/) - 介绍了各种各样的密码、加密方法和分析工具,通常附带图解示例。 - 🌎 [CyberChef](gchq.github.io/CyberChef/) - 用于加密、编码、压缩和数据分析的网络应用程序。 - [factordb.com](http://factordb.com/) - Factordb.com 是用于存储任何数字的已知因式分解的工具。 - 🌎 [keybase.io](keybase.io/) - Keybase 将您的身份映射到您的公钥,反之亦然。 ### Web 网站 - 🌎 [应用
标签:3DES, AES, Awesome, CMS安全, Go, JavaScript, JS文件枚举, Python, Ruby工具, Rust, 书籍, 云配置检测, 信息保护, 加密算法, 可视化界面, 哈希函数, 学习资源, 密码学, 对称加密, 开源库, 手动系统调用, 技术文档, 搜索引擎爬虫, 数据可视化, 无后门, 日志审计, 系统管理, 编程语言, 网络安全, 网络流量审计, 自动化审计, 课程, 逆向工具, 防御加固, 隐私保护, 非对称加密