请输入您要查询的百科知识:

 

词条 Libgcrypt
释义

  1. See also

  2. References

{{Infobox software
| name = Libgcrypt
| logo =
| screenshot =
| caption =
| developer = Werner Koch
| programming language = C
| operating system = Cross-platform
| genre = Cryptographic library
| license = GNU Lesser General Public License GNU General Public License
| website = {{URL|https://gnupg.org/software/libgcrypt/}}
}}{{Portal|Cryptography|Free and open-source software}}Libgcrypt is a cryptography library developed as a separated module of GnuPG.[1]

It can also be used independently of GnuPG, but depends on its error-reporting library Libgpg-error[2].

It provides functions for all fundamental cryptographic building blocks:

Primitive or Operation Algorithms or Implementation[3]
symmetric ciphers:[4] 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, Serpent (128, 192, 256 bits), Camellia (128, 192, 256 bits), Salsa20, Salsa20/12, ChaCha20, GOST 28147-89
cipher modes:[5]3394}}), CCM, GCM, Stream, OCB, EAX, XTS
public key algorithms:[6][7] RSA, ElGamal, DSA, ECDSA, EdDSA, DH, EDH, ECDH
hash algorithms:[8]2440}}), CRC-32 (as in ISO 3309), CRC-32 (as in {{IETF RFC|1510}}), GOST R 34.11-94, GOST R 34.11-2012 (Stribog), [https://tools.ietf.org/html/draft-sca-cfrg-sm3 SM3], BLAKE2b (128, 160, 224, 256 Bits), BLAKE2s (160, 256, 384, 512 Bits)
message authentication codes (MACs):[9] HMAC for all hash algorithms, CMAC for all cipher algorithms, GMAC for some cipher algorithms, Poly1305
key derivation functions (KDFs):[10]4880}}: simple, salted, iterated+salted), PBKDF2, SCRYPT
elliptic curves:5639}} (P256r1, P384r1, P512r1), Bernstein (Curve25519), GOST R ({{IETF RFC|5832}}, {{IETF RFC|7091}})

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.

As for GnuPG, multiple branches of Libgcrypt are maintained in parallel, currently the branch 1.8 and the branch 1.7, of which the older is announced to reach its end of life on 2019-06-30[11].

See also

  • Comparison of cryptography libraries

References

1. ^{{cite mailing list| last=Koch| first=Werner| url=https://lists.gnupg.org/pipermail/gnupg-devel/1998-December/015041.html| title=libgcrypt| publisher=gnupg-devel| date=1998-12-04| accessdate=2017-08-30}}
2. ^{{cite web| url=https://gnupg.org/software/libgpg-error/index.html| title=Libgpg-error| work=GnuPG software| date=2017-03-22| accessdate=2017-12-13}}
3. ^{{cite web | url=https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob;f=src/cipher.h;hb=HEAD | title=src/cipher.h | date=2017-06-16 | accessdate=2017-08-30}}
4. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Available-ciphers.html | title=Available ciphers | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
5. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Available-cipher-modes.html | title=Available cipher modes | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
6. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Available-algorithms.html | title=Available algorithms | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
7. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Cryptographic-Functions.html | title=Cryptographic Functions | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
8. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Available-hash-algorithms.html | title=Available hash algorithms | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
9. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Available-MAC-algorithms.html | title=Available MAC algorithms | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
10. ^{{cite web | url=https://www.gnupg.org/documentation/manuals/gcrypt/Key-Derivation.html | title=Key Derivation | work=The Libgcrypt Reference Manual | date=2017-08-27 | accessdate=2017-08-30}}
11. ^{{cite web| url=https://gnupg.org/software/libgcrypt/index.html| title=Libgrypt| work=GnuPG software| date=2017-07-19| accessdate=2017-12-13}}
{{GNU}}

4 : Cryptographic software|Free security software|GNU Project software|OpenPGP

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 9:55:53