Comparison of cryptography libraries
The tables below compare cryptography libraries that deal with cryptography algorithms and have API function calls to each of the supported features.
Cryptography libraries
Name of Implementation | Initiative | Main Implementation Language | Open-source software | Software License | Latest Release | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Jack Lloyd | C++ | Yes | Simplified BSD | 3.2.0 (October 9, 2023[1]) [±] | ||||||||||
Bouncy Castle | Legion of the Bouncy Castle Inc. | Java, C# | Yes | MIT License |
| ||||||||||
BSAFE | Dell, formerly RSA Security | Java, C, Assembly | No | Proprietary | Crypto-C Micro Edition: 4.1.5 (December 17, 2020[7]) [±]
| ||||||||||
cryptlib | Peter Gutmann | C | Yes | Sleepycat License or commercial license | 3.4.5 (2019[12]) [±] | ||||||||||
Crypto++ | The Crypto++ project | C++ | Yes | Boost Software License (all individual files are public domain) | Aug 7, 2022 (8.7.0) | ||||||||||
GnuTLS | Nikos Mavrogiannopoulos, Simon Josefsson | C | Yes | LGPL-2.1-or-later | |||||||||||
Java's default JCA/JCE providers | Oracle | Java | Yes | GNU GPL v2 and commercial license | 21.0.0 LTS (September 19, 2023 ) [±] 17.0.6 LTS (February 18, 2023[±] | ||||||||||
LibreSSL | OpenBSD Foundation | C | Yes | Apache-1.0 | |||||||||||
Libgcrypt | GnuPG community and g10code | C | Yes | GNU LGPL v2.1+ |
| ||||||||||
libsodium | Frank Denis | C | Yes | ISC License | May 30, 2019 (1.0.18) | ||||||||||
Mbed TLS | Arm Limited | C | Yes | Apache License 2.0 | 3.0.0 (July 7, 2021[17]) [±] ) | ||||||||||
NaCl | Daniel J. Bernstein, Tanja Lange, Peter Schwabe | C | Yes | Public domain | February 21, 2011[18] | ||||||||||
Nettle | C | Yes | GNU GPL v2+ or GNU LGPL v3 | 3.5.1 (June 27, 2019[19]) [±] | |||||||||||
Network Security Services (NSS) | Mozilla | C | Yes | MPL 2.0 |
| ||||||||||
OpenSSL | The OpenSSL Project | C | Yes | Apache-2.0 | |||||||||||
wolfCrypt | wolfSSL, Inc. | C | Yes | GNU GPL v2 or commercial license | 5.6.4 (October 30, 2023[21]) [±] |
FIPS 140
This table denotes, if a cryptography library provides the technical requisites for FIPS 140, and the status of their FIPS 140 certification (according to NIST's CMVP search, modules in process list and implementation under test list).
Implementation | FIPS 140-2 mode | FIPS 140-2 validated | FIPS 140-3 validated | ||||
---|---|---|---|---|---|---|---|
Botan | No | No | No | ||||
Bouncy Castle | Yes | Yes[22] | In Process[23] | ||||
BSAFE | Yes | Yes[24][25] | In Process[23] | ||||
cryptlib | Yes | No | No | ||||
Crypto++ | No | No[lower-alpha 1] | No | ||||
GnuTLS | No | Yes[26][lower-alpha 2] | In Process[27] | ||||
Java's default JCA/JCE providers | No | No[28][lower-alpha 3] | No | ||||
Libgcrypt | Yes | Yes[29][lower-alpha 4] | In Process[27] |- | libsodium | No | No | No |
Mbed TLS | No | No | No | ||||
NaCl | No | No | No | ||||
Nettle | No | No | No | ||||
Network Security Services (NSS) | Yes | Yes[30][lower-alpha 5] | In Process[27] | ||||
OpenSSL | Yes | Yes[31][lower-alpha 6] | In Process[27] | ||||
wolfCrypt | Yes | Yes[32] | In Process[23] |
- ↑ Crypto++ received three FIPS 140 validations from 2003 through 2008. In 2016 NIST moved Crypto++ to the Historical Validation List.
- ↑ While GnuTLS is not FIPS 140-2 validated by GnuTLS.org, validations exist for versions from Amazon Web Services Inc., Oracle Corporation, Red Hat Inc. and SUSE LLC.
- ↑ While none of default JDK JCA/JCE providers is FIPS 140-2 validated, there are other JCE/JCA third party providers which are FIPS 140-2 validated.
- ↑ While Libgcrypt is not FIPS 140-2 validated by g10code, validations exist for versions from Amazon Web Services Inc., Canonical Ltd., Oracle Corporation, Red Hat Inc. and SUSE LLC.
- ↑ While the Network Security Services (NSS) are not FIPS 140-2 validated by the Mozilla Foundation, validations exist for versions from Amazon Web Services Inc., Canonical Ltd., Cisco Systems Inc., Hewlett Packard Enterprise, Oracle Corporation, Red Hat Inc., SafeLogic Inc., SUSE LLC and Trend Micro Inc.
- ↑ While OpenSSL is not FIPS 140-2 validated by OpenSSL.org, validations exist for versions from Amazon Web Services Inc., Aqua Security Software Ltd., Broadcom Inc., Canonical Ltd., Cisco Systems Inc., Cohesity Inc., ControlUp Technologies Inc., Crestron Electronics Inc., Dell Inc., Gallagher Group, Hewlett Packard Enterprise, IBM Corporation, ICU Medical Inc., Intelligent Waves, Ixia, KeyPair Consulting Inc., Koninklijke Philips N.V., Lenovo Group Limited, LG Electronics Inc., LogRhythm, McAfee LLC, Metaswitch Networks Ltd, NetBrain Technologies Inc., Nutanix Inc., Onclave Networks Inc., Oracle Corporation, REDCOM Laboratories Inc., Red Hat Inc., SafeLogic Inc., Super Micro Computer Inc., SUSE LLC, Tanium Inc., Trend Micro Inc., Unisys Corporation, Verizon, VMware Inc. and Wickr Inc.
Key operations
Key operations include key generation algorithms, key exchange agreements and public key cryptography standards.
Public key algorithms
Implementation | RSA | DSA | ECDSA | EdDSA | Ed448 | DH | ECDH | ECIES | ElGamal | NTRU (IEEE P1363.1) |
DSS |
---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | No | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
BSAFE | Yes | Yes | Yes | No | No | Yes | Yes | Yes | No | No | No |
cryptlib | Yes | Yes | Yes | No | No | Yes | Yes | No | Yes | No | Yes |
Crypto++ | Yes | Yes | Yes | No | No | Yes | Yes | Yes | Yes | No | Yes |
GnuTLS | Yes | No | No | No | No | No | No | No | No | No | No |
Java's default JCA/JCE providers | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No | Yes |
Libgcrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes[lower-alpha 1] | No | Yes | No | Yes |
libsodium | No | No | No | Yes | No | No | No | No | No | No | No |
Mbed TLS | Yes | Yes | Yes | No | No | Yes | Yes | No | No | No | No |
Nettle | Yes | Yes | No | Yes | No | No | No | No | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No | No |
wolfCrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes |
- ↑ By using the lower level interface.
Elliptic-curve cryptography (ECC) support
Implementation | NIST | SECG | ECC Brainpool | Curve25519 | Curve448 | GOST R 34.10[33] | SM2 |
---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | No | Yes | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | No | Yes | No |
BSAFE | Yes | Yes | No | No | No | No | No |
cryptlib | Yes | Yes | Yes | No | No | No | No |
Crypto++ | Yes | Yes | Yes | Yes | No | No | No |
GnuTLS | Yes | No | No | No | No | No | No |
Java's default JCA/JCE providers | Yes | Yes | No | Yes | Yes | No | No |
Libgcrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
libsodium | Yes | No | No | Yes | Yes | No | No |
Mbed TLS | Yes | Yes | Yes | Yes | No | No | No |
Nettle | Yes | Partial | No | Yes | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
wolfCrypt | Yes | Yes | Yes | Yes | Yes | No | No |
Public key cryptography standards
Implementation | PKCS #1 | PKCS #5[34] / PBKDF2 | PKCS #8 | PKCS #12 | IEEE P1363 | ASN.1 |
---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | No | Yes | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes | Yes |
BSAFE Crypto-J | Yes | Yes | Yes | Yes | No | Yes |
cryptlib | Yes | Yes | Yes | Yes | No | Yes |
Crypto++ | Yes | Yes | Yes[lower-alpha 1] | No | Yes | Yes |
GnuTLS | ||||||
Java's default JCA/JCE providers | Yes | Yes | Yes | Yes | Yes | Yes |
Libgcrypt | Yes | Yes[lower-alpha 2] | Yes[lower-alpha 2] | Yes[lower-alpha 2] | Yes[lower-alpha 2] | Yes[lower-alpha 2] |
libsodium | No | No | No | No | No | No |
Mbed TLS | Yes | No | Yes | Yes | No | Yes |
Nettle | Yes | Yes | No | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | No | Yes |
wolfCrypt | Yes | Yes | Yes | Yes | No | Yes |
- ↑ The library offers X.509 and PKCS #8 encoding without PEM by default. For PEM encoding of public and private keys the PEM Pack is needed.
- ↑ 2.0 2.1 2.2 2.3 2.4 These Public Key Cryptographic Standards (PKCS) are supported by accompanying libraries and tools, which are also part of the GnuPG framework, although not by the actual libgcrypt library.
Hash functions
Comparison of supported cryptographic hash functions. Here hash functions are defined as taking an arbitrary length message and producing a fixed size output that is virtually impossible to use for recreating the original message.
Implementation | MD5 | SHA-1 | SHA-2 | SHA-3 | RIPEMD-160 | Tiger | Whirlpool | BLAKE2 | GOST R 34.11-94[35] (aka GOST 34.311-95) |
GOST R 34.11-2012 (Stribog)[36] |
SM3 |
---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
BSAFE Crypto-J | Yes | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
cryptlib | Yes | Yes | Yes | Yes | Yes | No | Yes | No | No | No | No |
Crypto++ | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes |
GnuTLS | |||||||||||
Java's default JCA/JCE providers | Yes | Yes | Yes | Yes | No | No | No | No | No | No | No |
Libgcrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
libsodium | No | No | Yes | No | No | No | No | Yes | No | No | No |
Mbed TLS | Yes | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
Nettle | Yes | Yes | Yes | Yes | Yes | No | No | No | Yes | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes |
wolfCrypt | Yes | Yes | Yes | Yes | Yes | No | No | Yes | No | No | No |
MAC algorithms
Comparison of implementations of message authentication code (MAC) algorithms. A MAC is a short piece of information used to authenticate a message—in other words, to confirm that the message came from the stated sender (its authenticity) and has not been changed in transit (its integrity).
Implementation | HMAC-MD5 | HMAC-SHA1 | HMAC-SHA2 | Poly1305 | BLAKE2-MAC |
---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes |
BSAFE Crypto-J | Yes | Yes | Yes | Yes | No |
cryptlib | Yes | Yes | Yes | No | No |
Crypto++ | Yes | Yes | Yes | Yes | Yes |
GnuTLS | |||||
Java's default JCA/JCE providers | Yes | Yes | Yes | No | No |
Libgcrypt | Yes | Yes | Yes | Yes | Yes |
libsodium | No | No | Yes | Yes | Yes |
Mbed TLS | Yes | Yes | Yes | No | No |
Nettle | Yes | Yes | Yes | Yes | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes |
wolfCrypt | Yes | Yes | Yes | Yes | Yes |
Block ciphers
Table compares implementations of block ciphers. Block ciphers are defined as being deterministic and operating on a set number of bits (termed a block) using a symmetric key. Each block cipher can be broken up into the possible key sizes and block cipher modes it can be run with.
Block cipher algorithms
Implementation | AES | 3DES | Camellia | Blowfish | Twofish | IDEA | CAST5 | ARIA | GOST 28147-89[37] / GOST R 34.12-2015 (Magma[38] & Kuznyechik[39]) |
SM4 |
---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Bouncy Castle[40] | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
BSAFE Crypto-J | Yes | Yes | No | No | No | No | No | No | No | No |
cryptlib[41] | Yes | Yes | No | Yes | No | Yes | Yes | No | No | No |
Crypto++ | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Partial[lower-alpha 1] | Yes |
GnuTLS | Yes | No | Yes | No | No | No | No | No | No | No |
Java's default JCA/JCE providers | Yes | Yes | No | Yes | No | No | No | No | No | No |
Libgcrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes |
libsodium | Partial[lower-alpha 2] | No | No | No | No | No | No | No | No | No |
Mbed TLS | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
Nettle | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes |
wolfCrypt | Yes | Yes | Yes | No | No | Yes | No | No | No | No |
Cipher modes
Implementation | ECB | CBC | OFB | CFB | CTR | CCM | GCM | OCB | XTS | AES-Wrap | Stream | EAX |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Botan | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Bouncy Castle | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes |
BSAFE | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | No |
cryptlib | Yes | Yes | Yes | Yes | No | No | Yes | No | No | No | No | No |
Crypto++ | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | No | Yes | Yes |
GnuTLS | ||||||||||||
Java's default JCA/JCE providers | Yes | Yes | Yes | Yes | Yes | No | Yes | No | No | Yes | Yes | No |
Libgcrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
libsodium | No | No | No | No | Yes | No | Yes | No | No | No | No | No |
Mbed TLS | Yes | Yes | No | Yes | Yes | Yes | Yes | No | No | No | No | No |
Nettle | Yes | Yes | No | No | Yes | Yes | Yes | No | No | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
wolfCrypt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | No |
Stream ciphers
The table below shows the support of various stream ciphers. Stream ciphers are defined as using plain text digits that are combined with a pseudorandom cipher digit stream. Stream ciphers are typically faster than block ciphers and may have lower hardware complexity, but may be more susceptible to attacks.
Implementation | RC4 | HC-256 | Rabbit | Salsa20 | ChaCha | SEAL | Panama | WAKE | Grain | VMPC | ISAAC |
---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | No | No | Yes | Yes | No | No | No | No | No | No |
Bouncy Castle | Yes | Yes | No | Yes | Yes | No | No | No | Yes | Yes | Yes |
BSAFE Crypto-J | Yes | No | No | No | Yes | No | No | No | No | No | No |
cryptlib | Yes | No | No | No | No | No | No | No | No | No | No |
Crypto++ | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No |
GnuTLS | |||||||||||
Java's default JCA/JCE providers | Yes | No | No | No | Yes | No | No | No | No | No | No |
Libgcrypt | Yes | No | No | Yes | Yes | No | No | No | No | No | No |
libsodium | No | No | No | Yes | Yes | No | No | No | No | No | No |
Mbed TLS | Yes | No | No | No | No | No | No | No | No | No | No |
Nettle | Yes | No | No | Yes | Yes | No | No | No | No | No | No |
OpenSSL | Yes | No | No | No | Yes | No | No | No | No | No | No |
wolfCrypt | Yes | Yes | Yes | Yes | Yes | No | No | No | No | No | No |
Hardware-assisted support
These tables compare the ability to utilize hardware enhanced cryptography. By using the assistance of specific hardware the library can achieve greater speeds and / or improved security than otherwise.
Smart card, SIM and HSM protocol support
Implementation | PKCS #11 | PC/SC | CCID |
---|---|---|---|
Botan | Yes | No | No |
Bouncy Castle | Yes[lower-alpha 1] | No | No |
BSAFE | Yes[lower-alpha 2] | No | No |
cryptlib | Yes | No | No |
Crypto++ | No | No | No |
GnuTLS | Yes | No | No |
Java's default JCA/JCE providers | Yes | No[lower-alpha 3] | No[lower-alpha 3] |
Libgcrypt | Yes[42] | Yes[43] | Yes[43] |
libsodium | No | No | No |
Mbed TLS | Yes[44] | No | No |
OpenSSL | Yes[44] | No | No |
wolfCrypt | Yes | No | No |
General purpose CPU / platform acceleration support
Implementation | AES-NI | SSSE3 / SSE4.1 | AVX / AVX2 | AVX-512 | RDRAND | VIA PadLock | Intel QuickAssist | ARMv7-A NEON | ARMv8-A cryptography instructions | Power ISA v2.03 (AltiVec[lower-alpha 1]) | Power ISA v2.07 (e.g., POWER8 and later[lower-alpha 1]) |
---|---|---|---|---|---|---|---|---|---|---|---|
Botan | Yes | Yes | Yes | Yes | Yes | No | No | Yes | Yes | Yes | Yes |
BSAFE | Yes[lower-alpha 2] | Yes[lower-alpha 2] | Yes[lower-alpha 2] | No | Yes[lower-alpha 2] | No | No | No | Yes[lower-alpha 2] | No | No |
cryptlib | Yes | Yes | Yes | No | Yes | Yes | No | No | No | No | No |
Crypto++ | Yes | Yes | Yes | No | Yes | Yes[lower-alpha 3] | No | Yes | Yes | Yes | Yes |
GnuTLS | Yes | No | No | No | No | Yes | No | No | No | No | No |
Java's default JCA/JCE providers | Yes[lower-alpha 4] | Yes[lower-alpha 4] | Yes[lower-alpha 4] | Yes[lower-alpha 4] | Yes[lower-alpha 4] | No | No | No | Yes[lower-alpha 4] | No | Yes[lower-alpha 4] |
Libgcrypt[45] | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | No | Yes |
libsodium | Yes | Yes | Yes | No | No | No | No | No | No | No | No |
OpenSSL | Yes | Yes | Yes | Yes | Yes[lower-alpha 5] | Yes | No | Yes | Yes | Yes | Yes |
wolfCrypt | Yes | Yes | Yes | No | Yes | No | Yes[46] | Yes | Yes[47] | No | No |
- ↑ 1.0 1.1 AltiVec includes POWER4 through POWER8 SIMD processing. POWER8 added in-core crypto, which provides accelerated AES, SHA and PMUL similar to ARMv8.1.
- ↑ 2.0 2.1 2.2 2.3 2.4 When using RSA BSAFE Crypto-J in native mode using BSAFE Crypto-C Micro Edition
- ↑ Crypto++ only provides access to the Padlock random number generator. Other functions, like AES acceleration, are not provided.
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 4.6 When using the HotSpot JVM
- ↑ OpenSSL RDRAND support is provided through the ENGINE interface. The RDRAND generator is not used by default.
Code size and code to comment ratio
Implementation | Source Code Size (kSLOC = 1000 lines of source code) |
Code Lines to Comment Lines Ratio |
---|---|---|
Botan | 133[48] | 4.55[48] |
Bouncy Castle | 1359[49] | 5.26[49] |
BSAFE Crypto-J | 271[lower-alpha 1] | 1.3[lower-alpha 1] |
cryptlib | 241 | 2.66 |
Crypto++ | 115[50] | 5.74[50] |
GnuTLS | 363[51] | 7.30[51] |
Java's default JCA/JCE providers | ||
Libgcrypt | 216[52] | 6.27[52] |
libsodium | 44[53] | 21.92[53] |
Mbed TLS | 105[54] | 33.9[54] |
Nettle | 111[55] | 4.08[55] |
OpenSSL | 472[56] | 4.41[56] |
wolfCrypt | 39 | 5.69 |
- ↑ 1.0 1.1 Based on Crypto-J 6.2.5, excluding tests source. Generated using https://github.com/XAMPPRocky/tokei
Portability
Implementation | Supported Operating System | Thread safe |
---|---|---|
Botan | Linux, Windows, macOS, Android, iOS, FreeBSD, NetBSD, OpenBSD, DragonflyBSD, Solaris, AIX, QNX, Haiku | Yes |
Bouncy Castle | General Java API: J2ME, Java Runtime Environment 1.1+, Android. Java FIPS API: Java Runtime 1.5+, Android. C# API (General & FIPS): CLR 4. | |
BSAFE Crypto-J | Solaris, Linux, Android, FreeBSD, AIX, 32 and 64-bit Windows, macOS (Darwin) | Yes |
cryptlib | AMX, ARINC 653, BeOS, ChorusOS, CMSIS-RTOS/mbed-rtos, DOS, DOS32, eCOS, embOS, FreeRTOS/OpenRTOS, uItron, MQX, MVS, Nucleus, OS/2, Palm OS, QNX Neutrino, RTEMS, SMX, Tandem NonStop, Telit, ThreadX, uC/OS II, Unix (AIX, FreeBSD, HP-UX, Linux, macOS, Solaris, etc.), VDK, VM/CMS, VxWorks, Win16, Win32, Win64, WinCE/PocketPC/etc, XMK | Yes |
Crypto++ | Unix (AIX, OpenBSD, Linux, MacOS, Solaris, etc.), Win32, Win64, Android, iOS, ARM | Yes[lower-alpha 1] |
GnuTLS | Runs on most Unix platforms and Windows[57] | ? |
Libgcrypt | All 32 and 64 bit Unix Systems (Linux, FreeBSD, NetBSD, macOS etc.), Win32, Win64, WinCE and more | Yes[58] |
libsodium | macOS, Linux, OpenBSD, NetBSD, FreeBSD, DragonflyBSD, Android, iOS, 32 and 64-bit Windows (Visual Studio, MinGW, C++ Builder), NativeClient, QNX, JavaScript, AIX, MINIX, Solaris | Yes |
Mbed TLS | Win32/64, Unix Systems, embedded Linux, Micrium's µC/OS, FreeRTOS | ? |
OpenSSL | Solaris, IRIX, HP-UX, MPE/iX, Tru64, Linux, Android, BSD (OpenBSD, NetBSD, FreeBSD, DragonflyBSD), NextSTEP, QNX, UnixWare, SCO, AIX, 32 and 64-bit Windows (Visual Studio, MinGW, UWIN, CygWin), UEFI, macOS (Darwin), iOS, HURD, VxWorks, uClinux, VMS, DJGPP (DOS), Haiku | Yes |
wolfCrypt | Win32/64, Linux, macOS, Solaris, ThreadX, VxWorks, FreeBSD, NetBSD, OpenBSD, embedded Linux, WinCE, Haiku, OpenWRT, iPhone (iOS), Android, Nintendo Wii and Gamecube through DevKitPro, QNX, MontaVista, NonStop, TRON/ITRON/µITRON, Micrium's µC/OS, FreeRTOS, SafeRTOS, Freescale MQX, Nucleus, TinyOS, HP-UX | Yes |
- ↑ Crypto++ is thread safe at the object level, i.e. there is no shared data among instances. If two different threads access the same object then the user is responsible for locking.
References
- ↑ "Botan: Release Notes". https://botan.randombit.net/news.html#version-3-2-0-2023-10-09.
- ↑ "Release Notes - bouncycastle.org". 2023-11-13. https://www.bouncycastle.org/releasenotes.html.
- ↑ "Java LTS Resources - bouncycastle.org". 2024-01-22. https://www.bouncycastle.org/lts-java/.
- ↑ "Java FIPS Resources - bouncycastle.org". 2023-09-28. https://www.bouncycastle.org/fips-java/.
- ↑ "The Legion of the Bouncy Castle C# Cryptography APIs". 2023-04-21. https://www.bouncycastle.org/csharp/.
- ↑ "C# .NET FIPS Resources - bouncycastle.org". 2023-02-28. https://www.bouncycastle.org/fips-csharp/.
- ↑ "Dell BSAFE Crypto-C Micro Edition 4.1.5 and Micro Edition Suite 4.6 Release Advisory". https://www.dell.com/support/kbdoc/000181234.
- ↑ "Dell BSAFE Micro Edition Suite 4.6.2 Release Advisory". https://www.dell.com/support/kbdoc/000212885.
- ↑ "Dell BSAFE Micro Edition Suite 5.0.2.1 Release Advisory". https://www.dell.com/support/kbdoc/000217723.
- ↑ "Dell BSAFE Crypto-J 7.0 Release Advisory". https://www.dell.com/support/kbdoc/000203117/dell-bsafe-crypto-j-7-0-release-advisory.
- ↑ "Dell BSAFE Crypto-J 6.3 Release Advisory". https://www.dell.com/support/kbdoc/000212037/dell-bsafe-crypto-j-6-3-release-advisory.
- ↑ Gutmann, Peter (2019). "Downloading". https://www.cs.auckland.ac.nz/~pgut001/cryptlib/download.html.
- ↑ "JDK Releases". https://java.com/releases/.
- ↑ "JDK Releases". https://java.com/releases/.
- ↑ "Libgcrypt 1.10.3 released". dev.gnupg.org. 2023-11-14. https://dev.gnupg.org/source/libgcrypt/browse/LIBGCRYPT-1.10-BRANCH/NEWS%3Blibgcrypt-1.10.3?view=raw.
- ↑ "Libgcrypt 1.8.11 released". dev.gnupg.org. 2023-11-16. https://dev.gnupg.org/source/libgcrypt/browse/LIBGCRYPT-1.8-BRANCH/NEWS%3Blibgcrypt-1.8.11?view=raw.
- ↑ "Mbed TLS releases". 2021-07-07. https://github.com/ARMmbed/mbedtls/releases.
- ↑ Downloading and installing NaCl, Bernstein, Lange, Schwabe, retrieved 2017-05-22
- ↑ "Nettle ChangeLog file @ git tag nettle_3.5.1_release_20190627". https://git.lysator.liu.se/nettle/nettle/blob/nettle_3.5.1_release_20190627/ChangeLog.
- ↑ 20.0 20.1 "NSS:Release versions". Mozilla Wiki. https://wiki.mozilla.org/NSS:Release_Versions.
- ↑ "wolfSSL ChangeLog". 2023-10-31. https://www.wolfssl.com/docs/wolfssl-changelog/.
- ↑ "Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&Vendor=bouncy+castle&CertificateStatus=Active&ValidationYear=0.
- ↑ 23.0 23.1 23.2 "Modules In Process List - Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/modules-in-process/modules-in-process-list.
- ↑ "Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=crypto-c&CertificateStatus=Active&ValidationYear=0.
- ↑ "Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=crypto-j&CertificateStatus=Active&ValidationYear=0.
- ↑ "Search - Cryptographic Module Validation Program | CSRC | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=GnuTLS&CertificateStatus=Active&ValidationYear=0.
- ↑ 27.0 27.1 27.2 27.3 "Implementation Under Test List - Cryptographic Module Validation Program | CSRC | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/modules-in-process/iut-list.
- ↑ "Search - Cryptographic Module Validation Program | CSRC | CSRC". 11 October 2016. https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=Java&CertificateStatus=Active&ValidationYear=0.
- ↑ https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=libgcrypt&CertificateStatus=Active&ValidationYear=0
- ↑ "Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=NSS+&CertificateStatus=Active&ValidationYear=0.
- ↑ "Cryptographic Module Validation Program | CSRC". https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search?SearchMode=Basic&ModuleName=OpenSSL&CertificateStatus=Active&ValidationYear=0.
- ↑ https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/3389
- ↑ RFC 7091
- ↑ RFC 8018
- ↑ RFC 5831
- ↑ RFC 6986
- ↑ RFC 5830
- ↑ RFC 8891
- ↑ RFC 7801
- ↑ Bouncy Castle Specifications, bouncycastle.org, retrieved 2018-04-10
- ↑ cryptlib Encryption Toolkit, Peter Gutmann, retrieved 2015-11-28
- ↑ With Scute, scute.org
- ↑ 43.0 43.1 With GnuPG's SCdaemon & gpg-agent, gnupg.org
- ↑ 44.0 44.1 With an libp11 engine
- ↑ hwfeatures.c, dev.gnupg.org
- ↑ "WolfSSL Asynchronous Intel QuickAssist Support - wolfSSL". 18 January 2017. https://www.wolfssl.com/wolfSSL/Blog/Entries/2017/1/18_wolfSSL_Asynchronous_Intel_QuickAssist_Support.html.
- ↑ "WolfSSL ARMv8 Support - wolfSSL". 13 October 2016. https://www.wolfssl.com/wolfSSL/Blog/Entries/2016/10/13_wolfSSL_ARMv8_Support.html.
- ↑ 48.0 48.1 Language Analysis of Botan, OpenHub.net, retrieved 2018-07-18
- ↑ 49.0 49.1 Language Analysis of Bouncy Castle, OpenHub.net, retrieved 2015-12-23
- ↑ 50.0 50.1 Language Analysis of Crypto++, OpenHub.net, retrieved 2018-07-18
- ↑ 51.0 51.1 Language Analysis of GnuTLS, OpenHub.net, retrieved 2020-09-15
- ↑ 52.0 52.1 Language Analysis of Libgcrypt, OpenHub.net, retrieved 2015-12-23
- ↑ 53.0 53.1 Language Analysis of libsodium, OpenHub.net, retrieved 2017-05-07
- ↑ 54.0 54.1 Language Analysis of mbed-tls, OpenHub.net, retrieved 2019-09-15
- ↑ 55.0 55.1 Language Analysis of Nettle, OpenHub.net, retrieved 2015-12-23
- ↑ 56.0 56.1 Language Analysis of OpenSSL, OpenHub.net, retrieved 2017-05-07
- ↑ GnuTLS - features, GnuTLS.org, retrieved 2022-09-15
- ↑ GnuPG documentation: Libgcrypt overview - thread safety, GnuPG.org, retrieved 2016-04-16
Original source: https://en.wikipedia.org/wiki/Comparison of cryptography libraries.
Read more |