logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cryptest - Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives

Author

       This  man  page  was  created  by  Stephen  Zander,  Pierre  Machard and Jens Peter Secher for the Debian
       distribution.  It is licenced under the same terms as the rest of the Crypto++ library,  written  by  Wei
       Dai.

                                                      local                                          cryptest(1)

Description

       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)

Name

       cryptest - Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives

Synopsis

cryptest [OPTION]

See Also