1 |
helpnode "Usage : shash [options] file1 file2 ...\n" |
helpnode "Usage : shash [options] file1 file2 ...\n" |
2 |
|
|
3 |
#int quiet; |
#int quiet; |
4 |
option (v, verbose) { $quiet = 0 } "some more information is displayed." |
option (V, verbose) { $quiet = 0 } "some more information is displayed." |
5 |
option (q, quiet) { $quiet = 2 } "suppress some non critical warnings." |
option (q, quiet) { $quiet = 2 } "suppress some non critical warnings." |
6 |
|
|
7 |
#int nosalt; |
#int nosalt; |
8 |
option (nosalt) { $nosalt = 1 } "Do not use salt." |
option (nosalt) { $nosalt = 1 } "Do not use salt." |
9 |
|
|
10 |
|
#int show_time; |
11 |
|
option (time) { $show_time = 1 } "Show time elapsed." |
12 |
|
|
13 |
#int hmac; |
#int hmac; |
14 |
option (m, hmac) { $hmac = 1 } "Use password to hash (hmac)." |
option (m, hmac) { $hmac = 1 } "Use password to hash (hmac)." |
15 |
|
|
37 |
option (a, algorithm) STR "algorithm" { $algorithm = $1 } "specify the algorithm. " |
option (a, algorithm) STR "algorithm" { $algorithm = $1 } "specify the algorithm. " |
38 |
"Use the --list parameter to show the supported algorithms." |
"Use the --list parameter to show the supported algorithms." |
39 |
|
|
|
#int nolock; |
|
|
option (n, nolock) { $nolock = 1 } "Do not lock files." |
|
|
|
|
40 |
option (l, list) { hash_list(); } "Prints a list of the algorithms supported." |
option (l, list) { hash_list(); } "Prints a list of the algorithms supported." |
41 |
|
|
42 |
#char *keys; |
#char *keys; |
45 |
|
|
46 |
option (listkeygen) { list_keygen_algorithms(); exit(0); } "Prints a list of the key generation algorithms supported." |
option (listkeygen) { list_keygen_algorithms(); exit(0); } "Prints a list of the key generation algorithms supported." |
47 |
option (h, help) { gaa_help(); exit(0); } "prints this help" |
option (h, help) { gaa_help(); exit(0); } "prints this help" |
48 |
option (V, version) { hash_version(); exit(0); } "prints the version number" |
option (v, version) { hash_version(); exit(0); } "prints the version number" |
49 |
option (L, license) { hash_license(); exit(0); } "displays license information." |
option (L, license) { hash_license(); exit(0); } "displays license information." |
50 |
|
|
51 |
#int size; |
#int size; |
54 |
|
|
55 |
init { $quiet=1; $config=0; $kmode = NULL; $hmac = 0; |
init { $quiet=1; $config=0; $kmode = NULL; $hmac = 0; |
56 |
$algorithm=NULL; $keys=NULL; $config_file=NULL; $input=NULL; |
$algorithm=NULL; $keys=NULL; $config_file=NULL; $input=NULL; |
57 |
$double_check=0; $nolock=0; $nosalt=0; $check=0; $text=0; |
$double_check=0; $nosalt=0; $check=0; $text=0; |
58 |
$binary=0; } |
$binary=0; $show_time=0; } |
59 |
|
|
60 |
INCOMP bt |
INCOMP bt |