summaryrefslogtreecommitdiffstats
path: root/doc/apps/passwd.pod
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-02-18 11:51:58 +0000
committerBodo Möller <bodo@openssl.org>2000-02-18 11:51:58 +0000
commitad86060357a590405f459f58bf9cdf4999264f4f (patch)
treec7108f19703d6db928c4d34fb7b9dff5d6e3b078 /doc/apps/passwd.pod
parente5b4462f47776bd682dc1042abe6192ddf999654 (diff)
Change the example to show apr1 with an 8-character salt.
Diffstat (limited to 'doc/apps/passwd.pod')
-rw-r--r--doc/apps/passwd.pod16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/apps/passwd.pod b/doc/apps/passwd.pod
index 3d3f757623..cee6a2f172 100644
--- a/doc/apps/passwd.pod
+++ b/doc/apps/passwd.pod
@@ -9,12 +9,12 @@ passwd - compute password hashes
B<openssl passwd>
[B<-crypt>]
[B<-apr1>]
-[B<-salt string>]
-[B<-in file>]
+[B<-salt> I<string>]
+[B<-in> I<file>]
[B<-stdin>]
[B<-quiet>]
[B<-table>]
-{B<password>}
+{I<password>}
=head1 DESCRIPTION
@@ -37,13 +37,13 @@ Use the B<crypt> algorithm (default).
Use the B<apr1> algorithm.
-=item B<-salt string>
+=item B<-salt> I<string>
Use the specified salt.
-=item B<-in file>
+=item B<-in> I<file>
-Read passwords from B<file>.
+Read passwords from I<file>.
=item B<-stdin>
@@ -60,10 +60,10 @@ to each password hash.
=back
-=head1 EXAMPLE
+=head1 EXAMPLES
B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>.
-B<openssl passwd -apr1 -salt xx password> prints B<$apr1$xx$2eRrCdRwKOfJOth0w31wR.>.
+B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>.
=cut