mirror of https://github.com/mkerrisk/man-pages
crypt.3: ffix
Reported-by: Helge Kreutzmann <debian@helgefjell.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c1b81aa8dd
commit
17a4cff3e4
29
man3/crypt.3
29
man3/crypt.3
|
@ -257,20 +257,23 @@ The following values of
|
|||
are supported:
|
||||
.RS
|
||||
.TS
|
||||
l l.
|
||||
ID | Method
|
||||
lb lb
|
||||
l lx.
|
||||
ID Method
|
||||
_
|
||||
1 | MD5
|
||||
2a | Blowfish (not in mainline glibc; added in some
|
||||
| Linux distributions)
|
||||
1 MD5
|
||||
2a T{
|
||||
Blowfish (not in mainline glibc; added in some
|
||||
Linux distributions)
|
||||
T}
|
||||
.\" openSUSE has Blowfish, but AFAICS, this option is not supported
|
||||
.\" natively by glibc -- mtk, Jul 08
|
||||
.\"
|
||||
.\" md5 | Sun MD5
|
||||
.\" glibc doesn't appear to natively support Sun MD5; I don't know
|
||||
.\" if any distros add the support.
|
||||
5 | SHA-256 (since glibc 2.7)
|
||||
6 | SHA-512 (since glibc 2.7)
|
||||
5 SHA-256 (since glibc 2.7)
|
||||
6 SHA-512 (since glibc 2.7)
|
||||
.TE
|
||||
.RE
|
||||
.PP
|
||||
|
@ -283,13 +286,15 @@ following "$\fIid\fP$" in the salt.
|
|||
The "\fIencrypted\fP"
|
||||
part of the password string is the actual computed password.
|
||||
The size of this string is fixed:
|
||||
.RS
|
||||
.TS
|
||||
l l.
|
||||
MD5 | 22 characters
|
||||
SHA-256 | 43 characters
|
||||
SHA-512 | 86 characters
|
||||
lb l.
|
||||
MD5 22 characters
|
||||
SHA-256 43 characters
|
||||
SHA-512 86 characters
|
||||
.TE
|
||||
.sp 1
|
||||
.RE
|
||||
.PP
|
||||
The characters in "\fIsalt\fP" and "\fIencrypted\fP" are drawn from the set
|
||||
[\fBa\-zA\-Z0\-9./\fP].
|
||||
In the MD5 and SHA implementations the entire
|
||||
|
|
Loading…
Reference in New Issue