Small error in crypt() manpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

The Linux manpage for crypt()[1] contains the following statement as the
last sentence of the NOTES section:

    In the SHA implementation the entire key is significant (instead of
    only the first 8 bytes in MD5).

It should probably say "DES" where it says "MD5" (and maybe "MD5/SHA"
where it says "SHA"), because in MD5 password hashing, the entire key is
significant, not just the first 8 bytes.

Quoting the glibc documentation[2]:

    For the MD5-based algorithm, [...] Every character in the key is
    significant. 



Best regards,

Marcel Moreaux



[1] http://www.kernel.org/doc/man-pages/online/pages/man3/crypt.3.html
[2] http://www.gnu.org/s/libc/manual/html_node/crypt.html#crypt
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux