cryptest1
Test driver for crypto++, a c++ class library of cryptographic primitives
Usage
cryptest [OPTION]
Overview
cryptest takes the following options
g-
generate an RSA key
h-
display usage information
r-
encrypt and decrypt a string using RSA
rsprivatekeyfile messagefile signaturefile-
sign a file using RSA
rvpublickeyfile messagefile signaturefile-
verify a signature of a file using RSA
mfile-
calculate MD5, SHA, and RIPEMD-160 message digests
t-
encrypt and decrypt a string using DES-EDE in CBC mode
e|dinput output-
encrypt or decrypt a file
ss<threshold> <number-of-shares> file-
secret share a file (shares will be named file.000, file.001, etc)
srfile share1 share2 [....]-
reconstruct a secret-shared file (number of shares given must be equal to threshold)
id<threshold> <number-of-shares> file-
information disperse a file (shares will be named file.000, file.001, etc)
irfile share1 share2 [....]-
reconstruct an information-dispersed file (number of shares given must be equal to threshold)
z<compression-level> input output-
gzip a file
uinput output-
gunzip a file
aeinput output-
encrypt a file with AES in CTR mode
e64input output-
base64 encode a file
d64input output-
base64 decode a file
e16input output-
hex encode a file
d16input output-
hex decode a file
ftsource-port destination-host destination-port-
forward a TCP connection
fips-
run the FIPS 140-2 sample application
fips-rand-
generate 100000 random files using FIPS Approved X.917 RNG
mtinput-
run Maurer's randomness test on a file
v-
run validation tests
- V
-
display version number
b[time for each benchmark in seconds] [frequency of CPU in gigahertz]-
run benchmarks
tvfilename-
run test vector file (available in TestVectors example subdirectory)
Releases
11 releases since Debian 3.1 (Sarge); the text changed 2 times.