/[mcrypt]/shash/src/shash.gaa
ViewVC logotype

Annotation of /shash/src/shash.gaa

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Wed Oct 4 22:45:23 2000 UTC (23 years, 5 months ago) by nmav
Branch: shash
CVS Tags: start
Changes since 1.1: +0 -0 lines
Included shash into the cvs

1 nmav 1.1 helpnode "Usage : shash [options] file1 file2 ...\n"
2    
3     #int quiet;
4     option (v, verbose) { $quiet = 0 } "some more information is displayed."
5     option (q, quiet) { $quiet = 2 } "suppress some non critical warnings."
6    
7     #int nosalt;
8     option (nosalt) { $nosalt = 1 } "Do not use salt."
9    
10     #int hmac;
11     option (m, hmac) { $hmac = 1 } "Use password to hash (hmac)."
12    
13     #int double_check;
14     option (d, doublecheck) { $double_check = 1 } "Double check passwords."
15    
16     #int check;
17     option (c, check) { $check = 1 } "check files."
18    
19     #int binary;
20     option (b, binary) { $binary = 1 } "treat input files as binary."
21    
22     #int text;
23     option (t, text) { $text = 1 } "treat input files as text."
24    
25     #char *kmode;
26     option (o, keymode) STR "kmode" { $kmode = $1 } "keyword mode"
27     "Use the --listkeygen parameter to view all supported modes."
28    
29     #int config;
30     #char *config_file;
31     option (i, config) STR "config" { $config=1; if (@1==1) $config_file = $1 } "Use configuration file FILE."
32    
33     #char *algorithm;
34     option (a, algorithm) STR "algorithm" { $algorithm = $1 } "specify the algorithm. "
35     "Use the --list parameter to show the supported algorithms."
36    
37     #int nolock;
38     option (n, nolock) { $nolock = 1 } "Do not lock files."
39    
40     option (l, list) { hash_list(); } "Prints a list of the algorithms supported."
41    
42     #char *keys;
43     option (k, key) STR "key" { $keys = $1; } "specify the key"
44    
45    
46     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"
48     option (V, version) { hash_version(); exit(0); } "prints the version number"
49     option (L, license) { hash_license(); exit(0); } "displays license information."
50    
51     #int size;
52     #char **input;
53     rest optional *STR "file1 file2...fileN" { $input = $1; $size = @1 }
54    
55     init { $quiet=1; $config=0; $kmode = NULL; $hmac = 0;
56     $algorithm=NULL; $keys=NULL; $config_file=NULL; $input=NULL;
57     $double_check=0; $nolock=0; $nosalt=0; $check=0; $text=0;
58     $binary=0; }
59    
60     INCOMP bt

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26