File: usage.dat

package info (click to toggle)
libcrypto%2B%2B 5.2.1a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,940 kB
  • ctags: 6,927
  • sloc: cpp: 48,513; sh: 8,366; makefile: 94
file content (78 lines) | stat: -rw-r--r-- 1,959 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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 calculate MD5, SHA, 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 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 validation tests
	cryptest v

- To run benchmarks
	cryptest b [time for each benchmark in seconds]

- To run test vector file (available in TestVectors subdirectory)
	cryptest tv filename