]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use \manpage{} markup for referencing a UNIX man page.
authorFred Drake <fdrake@acm.org>
Tue, 17 Feb 1998 22:24:45 +0000 (22:24 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 17 Feb 1998 22:24:45 +0000 (22:24 +0000)
Added index entry for DES cipher.

Doc/lib/libcrypt.tex
Doc/libcrypt.tex

index 64a9bfcc56a24f6cbb2e140905fb20487871c2b9..777f87e7db821c53b14bd4d84c971eb478ac1501 100644 (file)
@@ -2,7 +2,7 @@
 \label{module-crypt}
 \bimodindex{crypt}
 
-This module implements an interface to the crypt(\strong{3}) routine,
+This module implements an interface to the \manpage{crypt}{3} routine,
 which is a one-way hash function based upon a modified DES algorithm;
 see the \UNIX{} man page for further details.  Possible uses include
 allowing Python scripts to accept typed passwords from the user, or
@@ -13,10 +13,10 @@ attempting to crack \UNIX{} passwords with a dictionary.
 \begin{funcdesc}{crypt}{word\, salt} 
 \var{word} will usually be a user's password.  \var{salt} is a
 2-character string which will be used to select one of 4096 variations
-of DES.  The characters in \var{salt} must be either \code{.},
-\code{/}, or an alphanumeric character.  Returns the hashed password
-as a string, which will be composed of characters from the same
-alphabet as the salt.
+of DES\indexii{cipher}{DES}.  The characters in \var{salt} must be
+either \code{.}, \code{/}, or an alphanumeric character.  Returns the
+hashed password as a string, which will be composed of characters from
+the same alphabet as the salt.
 \end{funcdesc}
 
 The module and documentation were written by Steve Majewski.
index 64a9bfcc56a24f6cbb2e140905fb20487871c2b9..777f87e7db821c53b14bd4d84c971eb478ac1501 100644 (file)
@@ -2,7 +2,7 @@
 \label{module-crypt}
 \bimodindex{crypt}
 
-This module implements an interface to the crypt(\strong{3}) routine,
+This module implements an interface to the \manpage{crypt}{3} routine,
 which is a one-way hash function based upon a modified DES algorithm;
 see the \UNIX{} man page for further details.  Possible uses include
 allowing Python scripts to accept typed passwords from the user, or
@@ -13,10 +13,10 @@ attempting to crack \UNIX{} passwords with a dictionary.
 \begin{funcdesc}{crypt}{word\, salt} 
 \var{word} will usually be a user's password.  \var{salt} is a
 2-character string which will be used to select one of 4096 variations
-of DES.  The characters in \var{salt} must be either \code{.},
-\code{/}, or an alphanumeric character.  Returns the hashed password
-as a string, which will be composed of characters from the same
-alphabet as the salt.
+of DES\indexii{cipher}{DES}.  The characters in \var{salt} must be
+either \code{.}, \code{/}, or an alphanumeric character.  Returns the
+hashed password as a string, which will be composed of characters from
+the same alphabet as the salt.
 \end{funcdesc}
 
 The module and documentation were written by Steve Majewski.