[Python-checkins] python/dist/src/Doc/lib libsha.tex,1.10,1.11
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Mon Sep 15 14:20:55 EDT 2003
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv26033
Modified Files:
libsha.tex
Log Message:
SF bug #804113: Crypto terminology for crypto hash function
Noted that the SHA algorithm is really SHA-1.
(Contributed by Ronald Rivest.)
Index: libsha.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsha.tex,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** libsha.tex 2 Nov 2001 21:44:09 -0000 1.10
--- libsha.tex 15 Sep 2003 18:20:52 -0000 1.11
***************
*** 1,4 ****
\section{\module{sha} ---
! SHA message digest algorithm}
\declaremodule{builtin}{sha}
--- 1,4 ----
\section{\module{sha} ---
! SHA-1 message digest algorithm}
\declaremodule{builtin}{sha}
***************
*** 8,17 ****
This module implements the interface to NIST's\index{NIST} secure hash
! algorithm,\index{Secure Hash Algorithm} known as SHA. It is used in
the same way as the \refmodule{md5} module:\ use \function{new()}
to create an sha object, then feed this object with arbitrary strings
using the \method{update()} method, and at any point you can ask it
for the \dfn{digest} of the concatenation of the strings fed to it
! so far.\index{checksum!SHA} SHA digests are 160 bits instead of
MD5's 128 bits.
--- 8,18 ----
This module implements the interface to NIST's\index{NIST} secure hash
! algorithm,\index{Secure Hash Algorithm} known as SHA-1. SHA-1 is an
! improved version of the original SHA hash algorithm. It is used in
the same way as the \refmodule{md5} module:\ use \function{new()}
to create an sha object, then feed this object with arbitrary strings
using the \method{update()} method, and at any point you can ask it
for the \dfn{digest} of the concatenation of the strings fed to it
! so far.\index{checksum!SHA} SHA-1 digests are 160 bits instead of
MD5's 128 bits.
More information about the Python-checkins
mailing list