Libgcrypt

From Wikipedia, the free encyclopedia

Template:Short description

Page Module:Infobox/styles.css has no content.

Libgcrypt
[[Programmer|Original authorTemplate:Pluralize from text]]Werner Koch
[[Programmer|DeveloperTemplate:Pluralize from text]]GnuPG community[1]
Template:Infobox software/stacked
Written inC
EnginePage Template:Plainlist/styles.css has no content.Template:EditAtWikidata
Operating systemCross-platform
TypeCryptographic library
LicenseGNU Lesser General Public License (LGPLv2.1+) / GNU General Public License (GPLv2+)[2]
Websitegnupg.org/software/libgcrypt/
RepositoryPage Template:Plainlist/styles.css has no content.

Script error: No such module "Check for conflicting parameters".

Libgcrypt is a cryptography library developed as a separated module of GnuPG.[3] It can also be used independently of GnuPG, but depends on its error-reporting library Libgpg-error.[4]

It provides functions for all fundamental cryptographic building blocks:

Primitive or Operation Algorithms or Implementation[5]
symmetric ciphers:[6] AES (128, 192, 256 bits), DES, 3DES, IDEA, CAST5, Blowfish, Twofish (128, 256 bits), Ron's Cipher 2 / RC2 (40, 128 bits), ARCfour / RC4, SEED (Template:IETF RFC), Serpent (128, 192, 256 bits), Camellia (128, 192, 256 bits), Salsa20, Salsa20/12, ChaCha20, GOST 28147-89 (Template:IETF RFC) / GOST R 34.12-2015 (Magma: Template:IETF RFC & Kuznyechik: Template:IETF RFC), SM4, ARIA
cipher modes:[7] ECB, CFB, CBC, OFB, CTR, CCM, GCM, OCB, EAX, XTS, Stream, AES Key Wrap (Template:IETF RFC), AES Key Wrap with padding (Template:IETF RFC), SIV (Template:IETF RFC) and GCM-SIV (Template:IETF RFC)
public key algorithms:[8][9] RSA, ElGamal, DSA, ECDSA, EdDSA, Ed448, DH, EDH, ECDH
hash algorithms:[10] MD2, MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, SHA3-512, SHAKE128, SHAKE256, RIPEMD-160, TIGER/192, TIGER1, TIGER2, Whirlpool, CRC-24 (as in Template:IETF RFC), CRC-32 (as in ISO 3309), CRC-32 (as in Template:IETF RFC), GOST R 34.11-94 / GOST 34.311-95, GOST R 34.11-2012 (Stribog) / Template:IETF RFC, BLAKE2b (128, 160, 224, 256 Bits), BLAKE2s (160, 256, 384, 512 Bits), SM3[11]
message authentication codes (MACs):[12] HMAC for all hash algorithms, CMAC for all cipher algorithms, GMAC for some cipher algorithms, Poly1305
key derivation functions (KDFs):[13] S2K (as in Template:IETF RFC: simple, salted, iterated+salted), PBKDF2, SCRYPT, Argon2d, Argon2i, Argon2id, Balloon
elliptic curves: NIST (P-256, P-384, P-521), SECG (secp256k1), ECC Brainpool / Template:IETF RFC (P256r1, P384r1, P512r1), Bernstein (Curve25519, Curve448), GOST R 34.10-2012 (Template:IETF RFC), SM2[14]

Libgcrypt features its own multiple precision arithmetic implementation, with assembler implementations for a variety of processors, including Alpha, AMD64, HP PA-RISC, i386, i586, M68K, MIPS 3, PowerPC, and SPARC. It also features an entropy gathering utility, coming in different versions for Unix-like and Windows machines.

Usually multiple, stable branches of Libgcrypt are maintained in parallel; as of May 2026 this is the Libgrypt 1.12 branch as LTS ("long-term support") branch, the 1.11 branch as previous stable branch, which will be maintained at least until 2028-06-30[15] , and the 1.8 branch as "old-LTS" branch, which is still maintained as long a customer with an "extended Long Term Support contract" exists, despite its original end-of-life date being 2024-12-31.

See also

Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').

References

Page Template:Reflist/styles.css has no content.

  1. ^ Page Module:Citation/CS1/styles.css has no content."AUTHORS". Retrieved 2021-02-09.
  2. ^ Page Module:Citation/CS1/styles.css has no content."Copying". Libgcrypt. 2021-02-04. Retrieved 2021-02-09.
  3. ^ Page Module:Citation/CS1/styles.css has no content.Koch, Werner (1998-12-04). "libgcrypt" (Mailing list). gnupg-devel. Retrieved 2017-08-30.
  4. ^ Page Module:Citation/CS1/styles.css has no content."Libgpg-error". GnuPG software. 2017-03-22. Retrieved 2017-12-13.
  5. ^ Page Module:Citation/CS1/styles.css has no content."src/cipher.h". 2017-06-16. Retrieved 2017-08-30.
  6. ^ Page Module:Citation/CS1/styles.css has no content."Available ciphers". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  7. ^ Page Module:Citation/CS1/styles.css has no content."Available cipher modes". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  8. ^ Page Module:Citation/CS1/styles.css has no content."Available algorithms". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  9. ^ Page Module:Citation/CS1/styles.css has no content."Cryptographic Functions". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  10. ^ Page Module:Citation/CS1/styles.css has no content."Available hash algorithms". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  11. ^ Page Module:Citation/CS1/styles.css has no content.Shen, Sean; Lee, Xiaodong; Tse, Ronald Henry; Kit, Wong Wai; Yang, Paul (2018-01-08). "The SM3 Cryptographic Hash Function". Internet Engineering Task Force. Retrieved 2023-11-16.
  12. ^ Page Module:Citation/CS1/styles.css has no content."Available MAC algorithms". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  13. ^ Page Module:Citation/CS1/styles.css has no content."Key Derivation". The Libgcrypt Reference Manual. 2017-08-27. Retrieved 2017-08-30.
  14. ^ Page Module:Citation/CS1/styles.css has no content.Shen, Sean; Lee, Xiaodong (2014-02-14). "SM2 Digital Signature Algorithm". Internet Engineering Task Force. Retrieved 2023-11-16.
  15. ^ Page Module:Citation/CS1/styles.css has no content."End-of-life dates for GnuPG and Libgcrypt". GnuPG software. 2026-05-14. Retrieved 2026-05-14.

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.