summaryrefslogtreecommitdiff
path: root/external/crypto++-5.6.3/TestData/usage.dat
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /external/crypto++-5.6.3/TestData/usage.dat
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'external/crypto++-5.6.3/TestData/usage.dat')
-rw-r--r--external/crypto++-5.6.3/TestData/usage.dat81
1 files changed, 81 insertions, 0 deletions
diff --git a/external/crypto++-5.6.3/TestData/usage.dat b/external/crypto++-5.6.3/TestData/usage.dat
new file mode 100644
index 0000000..103d98e
--- /dev/null
+++ b/external/crypto++-5.6.3/TestData/usage.dat
@@ -0,0 +1,81 @@
+Test Driver for Crypto++(R) Library, a C++ Class Library of Cryptographic Schemes
+
+- To generate an RSA key
+ cryptest g
+
+- To encrypt and decrypt a string using RSA
+ cryptest r
+
+- To sign a file using RSA
+ cryptest rs privatekeyfile messagefile signaturefile
+
+- To verify a signature of a file using RSA
+ cryptest rv publickeyfile messagefile signaturefile
+
+- To digest a file using several hash functions in parallel
+ 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 secret share a file (shares will be named file.000, file.001, etc)
+ cryptest ss threshold number-of-shares file
+
+- To reconstruct a secret-shared file
+ cryptest sr file share1 share2 [....]
+ (number of shares given must be equal to threshold)
+
+- To information disperse a file (shares will be named file.000, file.001, etc)
+ cryptest id threshold number-of-shares file
+
+- To reconstruct an information-dispersed file
+ cryptest ir file share1 share2 [....]
+ (number of shares given must be equal to threshold)
+
+- To gzip a file
+ cryptest z compression-level input output
+
+- To gunzip a file
+ cryptest u input output
+
+- To encrypt a file with AES in CTR mode
+ cryptest ae input output
+
+- To base64 encode a file
+ cryptest e64 input output
+
+- To base64 decode a file
+ cryptest d64 input output
+
+- To hex encode a file
+ cryptest e16 input output
+
+- To hex decode a file
+ cryptest d16 input output
+
+- To forward a TCP connection
+ cryptest ft source-port destination-host destination-port
+
+- To run the FIPS 140-2 sample application
+ cryptest fips
+
+- To generate 100000 random files using FIPS Approved X.917 RNG
+ cryptest fips-rand
+
+- To run Maurer's randomness test on a file
+ cryptest mt input
+
+- To run a test script (available in TestVectors subdirectory)
+ cryptest tv filename
+
+- To run validation tests
+ cryptest v
+
+- To display version number
+ cryptest V
+
+- To run benchmarks
+ cryptest b [time allocated for each benchmark in seconds] [frequency of CPU in gigahertz]