Libgcrypt

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Libgcrypt
Developer(s) Werner Koch
Stable release

1.6.5 (February 9, 2016 (2016-02-09)[1]) [±]

1.5.4 (August 7, 2014 (2014-08-07)[2]) [±]
Written in C
Operating system Multi-platform
Type Cryptographic library
License GNU Lesser General Public License GNU General Public License
Website http://directory.fsf.org/project/libgcrypt/

Libgcrypt is a cryptographic library developed as a separated module of GnuPG.[3] It can also be used independently of GnuPG, although it requires its error-reporting library.

It provides functions for all cryptographic building blocks:

Primitive or Operation Algorithms or Implementations
symmetric ciphers[4] IDEA, 3DES, CAST5, Blowfish, AES (128, 192, 256 bits), Twofish (256, 128 bits), Arcfour, DES, Serpent (128, 192, 256 bits), Ron's Cipher 2 (40, 128 bits), SEED, Camellia (128, 192, 256 bits), Salsa20, Salsa20/12, GOST 28147-89
cipher modes:[5] ECB, CFB, CBC, OFB, CTR, AES-Wrap algorithm (RFC 3394), CCM, GCM, Stream
public key algorithms:[6][7] RSA, DSA, ElGamal, ECDSA, EdDSA (Ed25519)
hash algorithms:[8] MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, RIPEMD-160, TIGER/192, TIGER1, TIGER2 (used by GnuPG <= 1.3.2), CRC24 (RFC 2440), CRC32 (ISO 3309, RFC 1510, RFC 1510), Whirlpool, GOST R 34.11-94, GOST R 34.11-2012 (256, 512 bits)
MACs:[9] HMAC, CMAC, GMAC
key derivation:[10] S2K (RFC 4880: simple, salted, iterated+salted), PBKDF2, SCRYPT


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, mips3, powerpc, and sparc. It also features an entropy gathering utility, coming in different versions for Unix-like and Windows machines.

References[edit]

  1. ^ Koch, Werner (2016-02-09). "[Announce] Libgcrypt 1.6.5 with security fix released" (Mailing list). gnupg-announce. Retrieved 2016-02-09. 
  2. ^ Koch, Werner (2014-08-07). "[Announce] Libgcrypt 1.5.4 released" (Mailing list). gnupg-announce. Retrieved 2014-08-08. 
  3. ^ Werner Koch (4 December 1998). "libgcrypt". Retrieved 3 December 2010. 
  4. ^ "Available ciphers - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  5. ^ "Available cipher modes - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  6. ^ "Available algorithms - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  7. ^ "Cryptographic Functions - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  8. ^ "Available hash algorithms - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  9. ^ "Available MAC algorithms - The Libgcrypt Reference Manual". Retrieved 2014-08-08. 
  10. ^ "Key Derivation - The Libgcrypt Reference Manual". Retrieved 2014-08-08.