cryptest takes the following options
g generate an RSA key
h display usage information
r encrypt and decrypt a string using RSA
rsprivatekeyfilemessagefilesignaturefile
sign a file using RSA
rvpublickeyfilemessagefilesignaturefile
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|dinputoutput
encrypt or decrypt a file
ss<threshold><number-of-shares>file
secret share a file (shares will be named file.000, file.001, etc)
srfileshare1share2[....]
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)
irfileshare1share2[....]
reconstruct an information-dispersed file (number of shares given must be equal to threshold)
z<compression-level>inputoutput
gzip a file
uinputoutput
gunzip a file
aeinputoutput
encrypt a file with AES in CTR mode
e64inputoutput
base64 encode a file
d64inputoutput
base64 decode a file
e16inputoutput
hex encode a file
d16inputoutput
hex decode a file
ftsource-portdestination-hostdestination-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[timeforeachbenchmarkinseconds][frequencyofCPUingigahertz]
run benchmarks
tvfilename
run test vector file (available in TestVectors example subdirectory)