'passwd' tool.
[openssl.git] / doc / apps / passwd.pod
1 =pod
2
3 =head1 NAME
4
5 passwd - compute password hashes
6
7 =head1 SYNOPSIS
8
9 B<openssl passwd>
10 [B<-crypt>]
11 [B<-salt string>]
12 [B<-quiet>]
13 [B<-table>]
14 {B<password>}
15
16 =head1 DESCRIPTION
17
18 The B<passwd> command computes the hashes of a list of passwords
19 passed on the command line, or the hash of a password typed at run-time.
20 Currently only the Unix standard algorithm B<crypt>
21 is implemented.
22
23 =head1 OPTIONS
24
25 =over 4
26
27 =item B<-crypt>
28
29 Use the B<crypt> algorithm (default).
30
31 =item B<-salt string>
32
33 Use the specified salt.
34
35 =item B<-quiet>
36
37 Don't output warnings when passwords are truncated.
38
39 =item B<-table>
40
41 In the output list, prepend the cleartext password and a TAB character
42 to each password hash.
43
44 =back
45
46 =head1 EXAMPLE
47
48 B<openssl passwd -salt xx password> prints B<xxj31ZMTZzkVA>.
49
50 =cut