From: Jay Hannah Date: Mon, 27 Apr 2009 22:25:52 +0000 (+0100) Subject: Minor fixups for the documentation for crypt. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bb23f8d160852f98fe9c47e54ed245f0a8388664;p=p5sagit%2Fp5-mst-13.2.git Minor fixups for the documentation for crypt. --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index f8d2282..826df27 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -982,7 +982,7 @@ X X X X Creates a digest string exactly like the crypt(3) function in the C library (assuming that you actually have a version there that has not -been extirpated as a potential munitions). +been extirpated as a potential munition). crypt() is a one-way hash function. The PLAINTEXT and SALT is turned into a short string, called a digest, which is returned. The same @@ -1012,7 +1012,7 @@ digest matter. Traditionally the result is a string of 13 bytes: two first bytes of the salt, followed by 11 bytes from the set C<[./0-9A-Za-z]>, and only -the first eight bytes of the digest string mattered, but alternative +the first eight bytes of PLAINTEXT mattered. But alternative hashing schemes (like MD5), higher level security schemes (like C2), and implementations on non-UNIX platforms may produce different strings.