5 passwd - compute password hashes
21 The B<passwd> command computes the hash of a password typed at
22 run-time or the hash of each password in a list. The password list is
23 taken from the named file for option B<-in file>, from stdin for
24 option B<-stdin>, and from the command line otherwise.
25 The Unix standard algorithm B<crypt> and the MD5-based B<apr1> algorithm
34 Use the B<crypt> algorithm (default).
38 Use the B<apr1> algorithm.
40 =item B<-salt> I<string>
42 Use the specified salt.
46 Read passwords from I<file>.
50 Read passwords from B<stdin>.
54 Don't output warnings when passwords given at the command line are truncated.
58 In the output list, prepend the cleartext password and a TAB character
59 to each password hash.
65 B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>.
67 B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>.