Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2f194b

Browse files
committed
Use \manpage{} markup for referencing a UNIX man page.
Added index entry for DES cipher.
1 parent 8ecc705 commit e2f194b

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

Doc/lib/libcrypt.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ \section{Built-in Module \sectcode{crypt}}
22
\label{module-crypt}
33
\bimodindex{crypt}
44

5-
This module implements an interface to the crypt(\strong{3}) routine,
5+
This module implements an interface to the \manpage{crypt}{3} routine,
66
which is a one-way hash function based upon a modified DES algorithm;
77
see the \UNIX{} man page for further details. Possible uses include
88
allowing Python scripts to accept typed passwords from the user, or
@@ -13,10 +13,10 @@ \section{Built-in Module \sectcode{crypt}}
1313
\begin{funcdesc}{crypt}{word\, salt}
1414
\var{word} will usually be a user's password. \var{salt} is a
1515
2-character string which will be used to select one of 4096 variations
16-
of DES. The characters in \var{salt} must be either \code{.},
17-
\code{/}, or an alphanumeric character. Returns the hashed password
18-
as a string, which will be composed of characters from the same
19-
alphabet as the salt.
16+
of DES\indexii{cipher}{DES}. The characters in \var{salt} must be
17+
either \code{.}, \code{/}, or an alphanumeric character. Returns the
18+
hashed password as a string, which will be composed of characters from
19+
the same alphabet as the salt.
2020
\end{funcdesc}
2121

2222
The module and documentation were written by Steve Majewski.

Doc/libcrypt.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ \section{Built-in Module \sectcode{crypt}}
22
\label{module-crypt}
33
\bimodindex{crypt}
44

5-
This module implements an interface to the crypt(\strong{3}) routine,
5+
This module implements an interface to the \manpage{crypt}{3} routine,
66
which is a one-way hash function based upon a modified DES algorithm;
77
see the \UNIX{} man page for further details. Possible uses include
88
allowing Python scripts to accept typed passwords from the user, or
@@ -13,10 +13,10 @@ \section{Built-in Module \sectcode{crypt}}
1313
\begin{funcdesc}{crypt}{word\, salt}
1414
\var{word} will usually be a user's password. \var{salt} is a
1515
2-character string which will be used to select one of 4096 variations
16-
of DES. The characters in \var{salt} must be either \code{.},
17-
\code{/}, or an alphanumeric character. Returns the hashed password
18-
as a string, which will be composed of characters from the same
19-
alphabet as the salt.
16+
of DES\indexii{cipher}{DES}. The characters in \var{salt} must be
17+
either \code{.}, \code{/}, or an alphanumeric character. Returns the
18+
hashed password as a string, which will be composed of characters from
19+
the same alphabet as the salt.
2020
\end{funcdesc}
2121

2222
The module and documentation were written by Steve Majewski.

0 commit comments

Comments
 (0)