crypto41
所属分类:
加密解密
开发工具:C/C++
文件大小:489KB
下载次数:259
上传日期:2003-09-19 14:48:29
上 传 者:
管理员
说明: 一个DES,RSA,MD5,RC4等加密算法的源码
(A DES, RSA, MD5, RC4 encryption algorithm, such as the source)
文件列表:
3desval.dat (242, 2001-01-13)
3way.cpp (4438, 2001-01-13)
3way.h (1319, 2001-01-13)
3wayval.dat (314, 2001-01-13)
adler32.cpp (982, 2001-01-13)
adler32.h (483, 2001-01-13)
aes.h (384, 2001-01-13)
algebra.cpp (9311, 2001-01-13)
algebra.h (8737, 2001-01-13)
arc4.cpp (2168, 2001-01-13)
arc4.h (959, 2001-01-13)
asn.cpp (8150, 2001-01-13)
asn.h (8029, 2001-01-13)
** (2709, 2001-01-13)
** (1171, 2001-01-13)
bench.cpp (27092, 2001-01-13)
bench.h (123, 2001-01-13)
bfinit.cpp (14267, 2001-01-13)
blowfish.cpp (2213, 2001-01-13)
blowfish.h (1319, 2001-01-13)
blum1024.dat (672, 2001-01-13)
blum2048.dat (1320, 2001-01-13)
blum512.dat (350, 2001-01-13)
blumgold.cpp (3730, 2001-01-13)
blumgold.h (1575, 2001-01-13)
blumshub.cpp (1078, 2001-01-13)
blumshub.h (1236, 2001-01-13)
cast.cpp (11139, 2001-01-13)
cast.h (2404, 2001-01-13)
cast128v.dat (250, 2001-01-13)
cast256v.dat (358, 2001-01-13)
casts.cpp (29897, 2001-01-13)
cbc.cpp (5290, 2001-01-13)
cbc.h (4381, 2001-01-13)
cbcmac.h (1892, 2001-01-13)
channels.cpp (5413, 2001-01-13)
channels.h (2258, 2001-01-13)
config.h (4959, 2001-01-13)
crc.cpp (7938, 2001-01-13)
crc.h (872, 2001-01-13)
... ...
Crypto++: a C++ Class Library of Cryptographic Primitives
Version 4.1 1/13/2000
This library includes:
- a class hierarchy with an API defined by abstract base classes
- Proposed AES (Rijndael) and other AES candidates: RC6, MARS,
Twofish, Serpent, CAST-256
- other symmetric block ciphers: IDEA, DES, Triple DES (DES-EDE2
and DES-EDE3), DESX (DES-XEX3), RC2, RC5, Blowfish, Diamond2,
TEA, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square, Skipjack
- generic cipher modes: CBC padded, CBC ciphertext stealing (CTS),
CFB, OFB, counter mode
- stream ciphers: Panama, ARC4, SEAL, WAKE, Sapphire, BlumBlumShub
- public key cryptography: RSA, DSA, ElGamal, Nyberg-Rueppel (NR),
BlumGoldwasser, Rabin, Rabin-Williams (RW), LUC, LUCELG
- padding schemes for public-key systems: PKCS#1 v2.0, OAEP, PSSR,
IEEE P1363 EMSA2
- key agreement schemes: Diffie-Hellman (DH), Unified Diffie-
Hellman (DH2), Menezes-Qu-Vanstone (MQV), LUCDIF, XTR-DH
- elliptic curve cryptography: ECDSA, ECNR, ECIES, ECDHC, ECMQVC
- one-way hash functions: SHA-1, MD2, MD5, HAVAL, RIPEMD-160,
Tiger, SHA-2 (SHA-256, SHA-384, and SHA-512), Panama
- message authentication codes: MD5-MAC, HMAC, XOR-MAC, CBC-MAC, DMAC
- cipher constructions based on hash functions: Luby-Rackoff, MDC
- pseudo random number generators (PRNG): ANSI X9.17 appendix C,
PGP’s RandPool
- Shamir’s secret sharing scheme and Rabin’s information dispersal
algorithm (IDA)
- DEFLATE (RFC 1951) compression/decompression with gzip (RFC
1952) and zlib (RFC 1950) format support
- fast multi-precision integer (bignum) and polynomial operations
- prime number generation and verification
- various miscellaneous modules such as base *** coding and 32-bit CRC
- class wrappers for these operating system features (optional):
- high resolution timers on Windows, Unix, and MacOS
- Berkeley and Windows style sockets
- Windows named pipes
- /dev/random and /dev/urandom on Linux and FreeBSD
- Microsoft’s CryptGenRandom on Windows
- A high level interface for most of the above, using a
filter/pipeline metaphor
- benchmarks and validation testing
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 on Windows 2000,
GCC 2.95.2 on FreeBSD 4.1, and CodeWarrior 5.3 on MacOS 8.
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. You may need to check the compiler options to make sure
that the library and your application are using the same C++ run-time
libraries.
A makefile is included for you to compile Crypto++ with GCC. Make sure
you are using GNU Make and GNU ld. The make process will produce two files,
libcryptopp.a and cryptest.exe. Run "cryptest.exe v" for the validation
suite.
Crypto++ is documented mostly in the header files. 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. Then, 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. There
should also be a link on http://www.cryptopp.com to an HTML reference
manual generated from the inline documentation.
If you run into any problems, please try the Crypto++ mailing list.
The subscription information and the list archive are available on
http://www.cryptopp.com. You can also em ... ...
近期下载者:
相关文件:
收藏者: