summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-09-15 18:20:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-09-15 18:20:52 (GMT)
commit1e4cf67c32f3885e07b14a146bc121e422075274 (patch)
treed4d81c213d37923d1aa835d20f0b3c4c60f7ebe6
parent99f3ba1648004af22ede20d09d567cb33dce3db8 (diff)
downloadcpython-1e4cf67c32f3885e07b14a146bc121e422075274.zip
cpython-1e4cf67c32f3885e07b14a146bc121e422075274.tar.gz
cpython-1e4cf67c32f3885e07b14a146bc121e422075274.tar.bz2
SF bug #804113: Crypto terminology for crypto hash function
Noted that the SHA algorithm is really SHA-1. (Contributed by Ronald Rivest.)
-rw-r--r--Doc/lib/libsha.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libsha.tex b/Doc/lib/libsha.tex
index d9d7bf2..f7732dc 100644
--- a/Doc/lib/libsha.tex
+++ b/Doc/lib/libsha.tex
@@ -1,5 +1,5 @@
\section{\module{sha} ---
- SHA message digest algorithm}
+ SHA-1 message digest algorithm}
\declaremodule{builtin}{sha}
\modulesynopsis{NIST's secure hash algorithm, SHA.}
@@ -7,12 +7,13 @@
This module implements the interface to NIST's\index{NIST} secure hash
-algorithm,\index{Secure Hash Algorithm} known as SHA. It is used in
+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 digests are 160 bits instead of
+so far.\index{checksum!SHA} SHA-1 digests are 160 bits instead of
MD5's 128 bits.