加密算法
Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives:
- To generate an RSA key
crypTest g
- To encrypt and decrypt a string using RSA
crypTest r
- To calculate MD5, SHS, and RIPEMD-160 message digests:
crypTest m file
- To encrypt and decrypt a string using DES-EDE in CBC mode:
crypTest t
- To encrypt or decrypt a file
crypTest e|d input output
- To share a file into shadows:
crypTest s <pieces> <pieces-needed> file
(make sure file has no extension, if you re running this under DOS)
- To reconstruct a file from shadows:
crypTest j output file1 file2 [....]
- To gzip a file:
crypTest z <compression-level> input output
- To gunzip a file:
crypTest u input output
- To run validation Tests:
crypTest v
- To run benchmarks:
crypTest b [time for each benchmark in seconds]
標(biāo)簽:
Cryptographic
Primitives
generate
Library
上傳時間:
2015-07-16
上傳用戶:wqxstar