提交 ad860603 编写于 作者: B Bodo Möller

Change the example to show apr1 with an 8-character salt.

上级 e5b4462f
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册