Implement MD5-based "apr1" password hash.
[openssl.git] / doc / apps / gendsa.pod
1 =pod
2
3 =head1 NAME
4
5 gendsa - generate a DSA private key from a set of parameters
6
7 =head1 SYNOPSIS
8
9 B<openssl> B<gendsa>
10 [B<-out filename>]
11 [B<-des>]
12 [B<-des3>]
13 [B<-idea>]
14 [B<-rand file(s)>]
15 [B<paramfile>]
16
17 =head1 DESCRIPTION
18
19 The B<gendsa> command generates a DSA private key from a DSA parameter file
20 (which will be typically generated by the B<openssl dsaparam> command).
21
22 =head1 OPTIONS
23
24 =over 4
25
26 =item B<-des|-des3|-idea>
27
28 These options encrypt the private key with the DES, triple DES, or the 
29 IDEA ciphers respectively before outputting it. A pass phrase is prompted for.
30 If none of these options is specified no encryption is used.
31
32 =item B<-rand file(s)>
33
34 a file or files containing random data used to seed the random number
35 generator. Multiple files can be specified separated by a OS-dependent
36 character.  For MS-Windows, the separator is B<;>.  For OpenVMS, it's
37 B<,>.  For all others, it's B<:>.
38
39 =item B<paramfile>
40
41 This option specifies the DSA parameter file to use. The parameters in this
42 file determine the size of the private key. DSA parameters can be generated
43 and examined using the B<openssl dsaparam> command.
44
45 =back
46
47 =head1 NOTES
48
49 DSA key generation is little more than random number generation so it is
50 much quicker that RSA key generation for example.
51
52 =head1 SEE ALSO
53
54 L<dsaparam(1)|dsaparam(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>,
55 L<rsa(1)|rsa(1)>
56
57 =cut