Crypto++: free C++ Class Library of Cryptographic Schemes
Version 7.0 - APR/08/2018
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 ChaCha (8/12/20), Panama, Sosemanuk, Salsa20,
XSalsa20
AES and AES candidates AES (Rijndael), RC6, MARS, Twofish, Serpent,
CAST-256
ARIA, IDEA, Blowfish, Triple-DES (DES-EDE2 and
DES-EDE3), Camellia, SEED, Kalyna (128/256/512),
other block ciphers RC5, SIMON-64, SIMON-128, SPECK-64, SPECK-128,
Skipjack, SHACAL-2, SM4, Threefish (256/512/1024),
TEA, XTEA
block cipher modes of operation ECB, CBC, CBC ciphertext stealing (CTS),
CFB, OFB, counter mode (CTR)
message authentication codes BLAKE2s, BLAKE2b, CMAC, CBC-MAC, DMAC, GMAC, HMAC,
Poly1305, SipHash, Two-Track-MAC, VMAC,
BLAKE2s, BLAKE2b, Keccack (F1600), SHA-1,
hash functions SHA-2 (224/256/384/512), SHA-3 (224/256/384/512),
SipHash, SM3, Tiger, RIPEMD-128, RIPEMD-160,
RIPEMD-256, RIPEMD-320, WHIRLPOOL
RSA, DSA, Determinsitic DSA, ElGamal,
public-key cryptography Nyberg-Rueppel (NR), Rabin-Williams (RW), LUC,
LUCELG, EC-based German Digital Signature (ECGDSA),
DLIES (variants of DHAES), ESIGN
padding schemes for public-key PKCS#1 v2.0, OAEP, PSS, PSSR, IEEE P1363
systems EMSA2 and EMSA5
Diffie-Hellman (DH), Unified Diffie-Hellman
key agreement schemes (DH2), Menezes-Qu-Vanstone (MQV), Hashed MQV (HMQV),
Fully Hashed MQV (FHMQV), LUCDIF, XTR-DH
elliptic curve cryptography ECDSA, Determinsitic ECDSA, ECNR, ECIES, ECDH, ECMQV
insecure or obsolescent MD2, MD4, MD5, Panama Hash, DES, ARC4, SEAL
algorithms retained for backwards 3.0, WAKE-OFB, DESX (DES-XEX3), RC2,
compatibility and historical SAFER, 3-WAY, GOST, SHARK, CAST-128, Square
value
Other features include:
* pseudo random number generators (PRNG): ANSI X9.17 appendix C, RandomPool,
VIA Padlock, RDRAND, RDSEED, NIST Hash and HMAC DRBGs
* password based key derivation functions: PBKDF1 and PBKDF2 from PKCS #5,
PBKDF from PKCS #12 appendix B, HKDF from RFC 5869, Scrypt from RFC 7914
* 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
+ DEFLATE (RFC 1951) compression/decompression with gzip (RFC 1952) and
zlib (RFC 1950) format support
+ Hex, base-32, base-64, URL safe base-64 encoding and decoding
+ 32-bit CRC, CRC-C and Adler32 checksum
* class wrappers for these platform and operating system features (optional):
+ high resolution timers on Windows, Unix, and Mac OS
+ Berkeley and Windows style sockets
+ Windows named pipes
+ /dev/random, /dev/urandom, /dev/srandom
+ Microsoft's CryptGenRandom or BCryptGenRandom on Windows
* A high level interface for most of the above, using a filter/pipeline
metaphor
* benchmarks and validation testing
* x86, x64 (x86-64), x32 (ILP32), ARM-32, Aarch32, Aarch64 and Power8 in-core code
for the commonly used algorithms
+ run-time CPU feature detection and code selection
+ supports GCC-style and MSVC-style inline assembly, and MASM for x64
+ x86, x64 (x86-64), x32 provides MMX, SSE2, and SSE4 implementations
+ ARM-32, Aarch32 and Aarch64 provides NEON, ASIMD and ARMv8 implementations
+ Power8 provides in-core AES using NX Crypto Acceleration
The Crypto++ library was orginally written by Wei Dai. The library is now
maintained by several team members and the community. You are welcome to use it
for any purpose without paying anyone, but see License.txt for the fine print.
The following compilers are supported for this release. Please visit
http://www.cryptopp.com the most up to date build instructions and porting notes.
* Visual Studio 2003 - 2017
* GCC 3.3 - 8.0
* Apple Clang 4.3 - 9.3
* LLVM Clang 2.9 - 4.0
* C++Builder 2010
* Intel C++ Compiler 9 - 16.0
* Sun Studio 12u1 - 12.5
* IBM XL C/C++ 10.0 - 13.1
*** Important Usage Notes ***
1. 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.
2. Crypto++ is thread safe at the class level. This means you can use
Crypto++ safely in a multithreaded application, but you must provide
synchronization when multiple threads access a common Crypto++ object.
*** MSVC-Specific Information ***
To compile Crypto++ with MSVC, open "cryptest.sln" (for MSVC 2003 - 2015)
and build one or more of the following projects:
cryptest Non-DLL-Import Configuration - This builds the full static library
along with a full test driver.
cryptest DLL-Import Configuration - This builds a static library containing
only algorithms not in the DLL, along with a full test driver that uses
both the DLL and the static library.
cryptdll - This builds the DLL. Please note that if you wish to use Crypto++
as a FIPS validated module, you must use a pre-built DLL that has undergone
the FIPS validation process instead of building your own.
dlltest - This builds a sample application that only uses the DLL.
The DLL used to provide FIPS validated cryptography. The library was moved
to the CMVP's <A HREF=
"http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-historical.htm">
Historical Validation List</A>. The library and the DLL are no longer considered
validated. You should no longer use the DLL.
To use the Crypto++ DLL in your application, #include "dll.h" before including
any other Crypto++ header files, and place the DLL in the same directory as
your .exe file. dll.h includes the line #pragma comment(lib, "cryptopp")
so you don't have to explicitly list the import library in your project
settings. To use a static library form of Crypto++, make the "cryptlib"
project a dependency of your application project, or specify it as
an additional library to link with in your project settings.
In either case you should check the compiler options to
make sure that the library and your application are using the same C++
run-time libraries and calling conventions.
*** DLL Memory Management ***
Because it's possible for the Crypto++ DLL to delete objects allocated
by the calling application, they must use the same C++ memory heap. Three
methods are provided to achieve this.
1. The calling application can tell Crypto++ what heap to use. This method
is required when the calling application uses a non-standard heap.
2. Crypto++ can tell the calling application what heap to use. This method
is required when the calling application uses a statically linked C++ Run
Time Library. (Method 1 does not work in this case because the Crypto++ DLL
is initialized befor
没有合适的资源?快使用搜索试试~ 我知道了~
cryptopp700
共517个文件
cpp:166个
h:163个
txt:70个
需积分: 10 5 下载量 44 浏览量
2018-12-02
13:19:06
上传
评论
收藏 7.05MB ZIP 举报
温馨提示
cryptopp-CRYPTOPP_7_0_0,加密解密库的最新版本。
资源推荐
资源详情
资源评论
收起资源包目录
cryptopp700 (517个子文件)
x64dll.asm 46KB
x64masm.asm 37KB
rdrand.asm 10KB
rdrand-masm.cmd 4KB
cryptdll-windows.cmd 728B
validat0.cpp 157KB
kalynatab.cpp 135KB
validat1.cpp 130KB
integer.cpp 129KB
validat3.cpp 123KB
sharkbox.cpp 119KB
blake2-simd.cpp 89KB
validat4.cpp 69KB
kalyna.cpp 56KB
sha-simd.cpp 55KB
validat2.cpp 49KB
tigertab.cpp 44KB
whrlpool.cpp 41KB
simon-simd.cpp 41KB
filters.cpp 40KB
sha.cpp 38KB
rijndael.cpp 38KB
fipsalgt.cpp 37KB
speck-simd.cpp 35KB
eccrypto.cpp 35KB
test.cpp 33KB
squaretb.cpp 31KB
ripemd.cpp 31KB
gcm.cpp 31KB
cryptlib.cpp 30KB
casts.cpp 29KB
datatest.cpp 28KB
zdeflate.cpp 25KB
rijndael-simd.cpp 25KB
vmac.cpp 25KB
salsa.cpp 25KB
fipstest.cpp 25KB
nbtheory.cpp 25KB
sosemanuk.cpp 24KB
cpu.cpp 24KB
tweetnacl.cpp 24KB
bench1.cpp 23KB
gcm-simd.cpp 22KB
camellia.cpp 22KB
gf2n.cpp 20KB
threefish.cpp 19KB
zinflate.cpp 18KB
blake2.cpp 18KB
socketft.cpp 17KB
crc.cpp 16KB
simon.cpp 16KB
tftables.cpp 16KB
network.cpp 16KB
bench2.cpp 15KB
speck.cpp 15KB
polynomi.cpp 14KB
asn.cpp 14KB
bfinit.cpp 14KB
panama.cpp 14KB
wait.cpp 14KB
des.cpp 14KB
rdrand.cpp 13KB
queue.cpp 13KB
ariatab.cpp 12KB
ecp.cpp 12KB
ida.cpp 12KB
ttmac.cpp 12KB
default.cpp 11KB
cast.cpp 11KB
aria.cpp 11KB
sm3.cpp 10KB
gfpcrypt.cpp 10KB
keccak.cpp 10KB
sha3.cpp 10KB
rsa.cpp 10KB
algebra.cpp 9KB
ppc-simd.cpp 9KB
regtest2.cpp 9KB
modes.cpp 9KB
pubkey.cpp 8KB
scrypt.cpp 8KB
misc.cpp 8KB
channels.cpp 8KB
rw.cpp 8KB
pkcspad.cpp 7KB
ec2n.cpp 7KB
sm4.cpp 7KB
strciphr.cpp 7KB
poly1305.cpp 7KB
osrng.cpp 7KB
luc.cpp 7KB
marss.cpp 7KB
tiger.cpp 6KB
esign.cpp 6KB
safer.cpp 6KB
files.cpp 6KB
skipjack.cpp 6KB
rabin.cpp 6KB
pssr.cpp 6KB
basecode.cpp 6KB
共 517 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
Ly_564963745
- 粉丝: 1
- 资源: 54
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 上市公司-人工智能的采纳程度面板数据(2003-2021年).xlsx
- 第5章spring-mvc请求映射处理
- 2023-04-06-项目笔记 - 第一百十六阶段 - 4.4.2.114全局变量的作用域-114 -2024.04.27
- app-release.apk.1
- soap json 等系列化方式
- c++的五子棋代码,在vs6.0上完美运行
- 基于Javaee的影视创作论坛的设计与实现.rar
- Python导出Mysql数据字典(部分表或全表)
- Java工具类实现输入一个路径,强创建路径、并且鉴权目标路径是否具备修改权限,用于增强程序的健壮性与稳定性,快速开发!
- 资源【STM32+HAL】三轴按键PS2摇杆
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功