300CPPcode
300 

所属分类:加密解密
开发工具:C/C++
文件大小:368KB
下载次数:15
上传日期:2012-09-29 16:54:32
上 传 者buluo
说明:  300种(C++)加密解密算法源代码,很全面的代码
(300 kinds (C++) encryption and decryption algorithm source code, a comprehensive code)

文件列表:
bfinit.cpp (14267, 1998-11-19)
3way.h (1194, 1998-12-12)
3wayval.dat (314, 1998-01-16)
algebra.cpp (8977, 1998-12-31)
algebra.h (7012, 1998-12-29)
asn.cpp (2105, 1998-11-19)
asn.h (1486, 1998-12-18)
base64.cpp (2483, 1998-11-19)
base64.h (1087, 1998-12-12)
bench.cpp (24990, 1998-12-31)
bench.h (104, 1998-11-19)
3way.cpp (4187, 1998-11-19)
blowfish.cpp (2443, 1998-11-19)
blowfish.h (1177, 1998-12-12)
blum1024.dat (672, 1998-01-16)
blum2048.dat (1320, 1998-01-16)
blum512.dat (350, 1998-01-16)
blumgold.cpp (3650, 1998-11-29)
blumgold.h (1463, 1998-12-12)
blumshub.cpp (1068, 1998-11-19)
blumshub.h (1107, 1998-12-12)
cast.cpp (10670, 1998-11-19)
cast.h (1178, 1998-12-12)
cast128s.cpp (29906, 1998-11-19)
castval.dat (250, 1998-11-19)
cbc.cpp (4972, 1998-11-19)
cbc.h (1997, 1998-12-12)
config.h (3258, 1998-12-18)
crc.cpp (4147, 1998-11-19)
crc.h (707, 1998-12-12)
cryptest.dsp (7060, 1998-12-29)
cryptest.dsw (819, 1998-11-23)
cryptlib.cpp (4119, 1998-12-18)
cryptlib.dsp (13140, 1998-12-29)
cryptlib.h (22994, 1999-01-01)
default.cpp (5327, 1998-11-24)
default.h (1084, 1998-12-12)
des.cpp (12518, 1998-11-19)
des.h (2599, 1998-12-12)
descert.dat (8892, 1998-01-16)
... ...

算法由: 劲维在线提供 http://www.cqjwell.com Crypto++: a C++ Class Library of Cryptographic Primitives Version 3.0 1/1/1999 This library includes: MD2, MD5, SHA-1, HAVAL, Tiger, RIPE-MD160, MD5-MAC, HMAC, XOR-MAC, DES, IDEA, WAKE, 3-WAY, TEA, SAFER, Blowfish, SHARK, GOST, CAST-128, Square, Diamond2, Sapphire, RC2, RC5, RC6, MARS, SEAL, Luby-Rackoff, MDC, various encryption modes (CFB, CBC, OFB, counter), DH, DH2, MQV, DSA, NR, ElGamal, LUC, LUCDIF, LUCELG, Rabin, RW, RSA, BlumGoldwasser, elliptic curve cryptosystems, BBS, DEFLATE compression, Shamir's secret sharing scheme, Rabin's information dispersal scheme. There are also various miscellanous modules such as base *** coding and 32-bit CRC. You are welcome to use it for any purpose without paying me, but see license.txt for the fine print. Crypto++ has been compiled successfully with MSVC 6.0 and EGCS/cygwin32 1.1 on Windows NT 5.0 beta 2. To compile Crypto++ with MSVC, open the "cryptest.dsw" workspace file and build the "cryptest" project. This will compile Crypto++ as a static library and also build the test driver. Run the test driver and make sure the validation suite passes. Then to use the library simply insert the "cryptlib.dsp" project file into your own application workspace as a dependent project. A makefile is included for you to compile Crypto++ with EGCS. But first you may have to make some changes to the system header files to work around problems in the EGCS 1.1 release. Please check the Crypto++ homepage (see below) for the latest updates. Right now there is very little documentation for Crypto++. If you are not familiar with cryptography, I suggest that you read an introductory text (such as Bruce Schneier's _Applied Cryptography_) before attempting to use this library. Otherwise, you should start by looking at cryptlib.h, which contains the main abstract base classes and their descriptions, and test.cpp, which contains sample/test code. Finally, a note on object ownership: If a constructor for A takes a pointer to an object B (except primitive types such as int and char), then A owns B and will delete B at A's destruction. If a constructor for A takes a reference to an object B, then the caller retains ownership of B and should not destroy it until A no longer needs it. Good luck, and feel free to e-mail me at weidai@eskimo.com if you have any problems. Also, check http://www.eskimo.com/~weidai/cryptlib.html for updates and new versions. Wei Dai History 1.0 - First public release. Withdrawn at the request of RSA DSI. - included Blowfish, BBS, DES, DH, Diamond, DSA, ElGamal, IDEA, MD5, RC4, RC5, RSA, SHA, WAKE, secret sharing, DEFLATE compression - had a big bug in the RSA key generation code. 1.1 - Removed RSA, RC4, RC5 - Disabled calls to RSAREF's non-public functions - Minor bugs fixed 2.0 - a completely new, faster multiprecision integer class - added MD5-MAC, HAVAL, 3-WAY, TEA, SAFER, LUC, Rabin, BlumGoldwasser, elliptic curve algorithms - added the Lucas strong probable primality test - ElGamal encryption and signature schemes modified to avoid weaknesses - Diamond changed to Diamond2 because of key schedule weakness - fixed bug in WAKE key setup - SHS class renamed to SHA - lots of miscellaneous optimizations 2.1 - added Tiger, HMAC, GOST, RIPE-MD160, LUCELG, LUCDIF, XOR-MAC, OAEP, PSSR, SHARK - added precomputation to DH, ElGamal, DSA, and elliptic curve algorithms - added back RC5 and a new RSA - optimizations in elliptic curves over GF(p) - changed Rabin to use OAEP and PSSR - changed many classes to allow copy constructors to work correctly - improved exception generation and handling 2.2 - added SEAL, CAST-128, Square - fixed bug in HAVAL (padding problem) - fixed bug in triple-DES (decryption order was reversed) - fixed bug in RC5 (couldn't handle key length not a multiple of 4) - changed HMAC to conform to RFC-2104 (which is not compatible with the original HMAC) - changed secret sharing and information dispersal to use GF(2^32) instead of GF(65521) - removed zero knowledge prover/verifier for graph isomorphism - removed several utility classes in favor of the C++ standard library 2.3 - ported to EGCS - fixed incomplete workaround of min/max conflict in MSVC 3.0 - placed all names into the "CryptoPP" namespace - added MD2, RC2, RC6, MARS, RW, DH2, MQV, ECDHC - added abstract base classes PK_SimpleKeyAgreementDomain and PK_AuthenticatedKeyAgreementDomain - changed DH and LUCDIF to implement the PK_SimpleKeyAgreementDomain interface and to perform domain parameter and key validation - changed interfaces of PK_Signer and PK_Verifier to sign and verify messages instead of message digests - changed OAEP to conform to PKCS#1 v2.0 - changed benchmark code to produce HTML tables as output - changed PSSR to track IEEE P1363a - renamed ElGamalSignature to NR and changed it to track IEEE P1363 - renamed ECKEP to ECMQVC and changed it to track IEEE P1363 - renamed several other classes for clarity - removed support for calling RSAREF - removed option to compile old SHA - removed option not to throw exceptions

近期下载者

相关文件


收藏者