Monday, March 15, 2010

Crypto++ Library 5.6.0

Crypto++ Library is a free C++ class library of cryptographic schemes. Currently the library contains the following algorithms:

algorithm type name
authenticated encryption schemes GCM, CCM, EAX
high speed stream ciphers Panama, Sosemanuk, Salsa20, XSalsa20
AES and AES candidates AES (Rijndael), RC6, MARS, Twofish, Serpent, CAST-256
other block ciphers IDEA, Triple-DES (DES-EDE2 and DES-EDE3), Camellia, SEED, RC5, Blowfish, TEA, XTEA, Skipjack, SHACAL-2
block cipher modes of operation ECB, CBC, CBC ciphertext stealing (CTS), CFB, OFB, counter mode (CTR)
message authentication codes VMAC, HMAC, CMAC, CBC-MAC, DMAC, Two-Track-MAC
hash functions SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, and SHA-512), Tiger, WHIRLPOOL, RIPEMD-128, RIPEMD-256, RIPEMD-160, RIPEMD-320
public-key cryptography RSA, DSA, ElGamal, Nyberg-Rueppel (NR), Rabin-Williams (RW), LUC, LUCELG, DLIES (variants of DHAES), ESIGN
padding schemes for public-key systems PKCS#1 v2.0, OAEP, PSS, PSSR, IEEE P1363 EMSA2 and EMSA5
key agreement schemes Diffie-Hellman (DH), Unified Diffie-Hellman (DH2), Menezes-Qu-Vanstone (MQV), LUCDIF, XTR-DH
elliptic curve cryptography ECDSA, ECNR, ECIES, ECDH, ECMQV
insecure or obsolescent algorithms retained for backwards compatibility and historical value MD2, MD4, MD5, Panama Hash, DES, ARC4, SEAL 3.0, WAKE, WAKE-OFB, DESX (DES-XEX3), RC2, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square

Other features include:

   * pseudo random number generators (PRNG): ANSI X9.17 appendix C, RandomPool
   * password based key derivation functions: PBKDF1 and PBKDF2 from PKCS #5, PBKDF from PKCS #12 appendix B
   * Shamir's secret sharing scheme and Rabin's information dispersal algorithm (IDA)
   * fast multi-precision integer (bignum) and polynomial operations
   * finite field arithmetics, including GF(p) and GF(2^n)
   * prime number generation and verification
   * useful non-cryptographic algorithms
         o DEFLATE (RFC 1951) compression/decompression with gzip (RFC 1952) and zlib (RFC 1950) format support
         o hex, base-32, and base-64 coding/decoding
         o 32-bit CRC and Adler32 checksum
   * class wrappers for these operating system features (optional):
         o high resolution timers on Windows, Unix, and Mac OS
         o Berkeley and Windows style sockets
         o Windows named pipes
         o /dev/random, /dev/urandom, /dev/srandom
         o Microsoft's CryptGenRandom on Windows
   * A high level interface for most of the above, using a filter/pipeline metaphor
   * benchmarks and validation testing
   * x86, x86-64 (x64), MMX, and SSE2 assembly code for the most commonly used algorithms, with run-time CPU feature detection and code selection
         o supports GCC-style and MSVC-style inline assembly, and MASM for x64
   * certain versions are available in FIPS 140-2 validated form

Read more: Crypto++

Posted via email from jasper22's posterous