5 passwd - compute password hashes
22 The B<passwd> command computes the hash of a password typed at
23 run-time or the hash of each password in a list. The password list is
24 taken from the named file for option B<-in file>, from stdin for
25 option B<-stdin>, and from the command line otherwise.
26 The Unix standard algorithm B<crypt> and the MD5-based BSD password
27 algorithm B<1> and its Apache variant B<apr1> are available.
35 Use the B<crypt> algorithm (default).
39 Use the MD5 based BSD password algorithm B<1>.
43 Use the B<apr1> algorithm (Apache variant of the BSD algorithm).
45 =item B<-salt> I<string>
47 Use the specified salt.
51 Read passwords from I<file>.
55 Read passwords from B<stdin>.
59 Don't output warnings when passwords given at the command line are truncated.
63 In the output list, prepend the cleartext password and a TAB character
64 to each password hash.
70 B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>.
72 B<openssl passwd -1 -salt xxxxxxxx password> prints B<$1$xxxxxxxx$8XJIcl6ZXqBMCK0qFevqT1>.
74 B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>.