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

Skip to content

Commit 1e4cf67

Browse files
committed
SF bug #804113: Crypto terminology for crypto hash function
Noted that the SHA algorithm is really SHA-1. (Contributed by Ronald Rivest.)
1 parent 99f3ba1 commit 1e4cf67

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/lib/libsha.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
\section{\module{sha} ---
2-
SHA message digest algorithm}
2+
SHA-1 message digest algorithm}
33

44
\declaremodule{builtin}{sha}
55
\modulesynopsis{NIST's secure hash algorithm, SHA.}
66
\sectionauthor{Fred L. Drake, Jr.}{[email protected]}
77

88

99
This module implements the interface to NIST's\index{NIST} secure hash
10-
algorithm,\index{Secure Hash Algorithm} known as SHA. It is used in
10+
algorithm,\index{Secure Hash Algorithm} known as SHA-1. SHA-1 is an
11+
improved version of the original SHA hash algorithm. It is used in
1112
the same way as the \refmodule{md5} module:\ use \function{new()}
1213
to create an sha object, then feed this object with arbitrary strings
1314
using the \method{update()} method, and at any point you can ask it
1415
for the \dfn{digest} of the concatenation of the strings fed to it
15-
so far.\index{checksum!SHA} SHA digests are 160 bits instead of
16+
so far.\index{checksum!SHA} SHA-1 digests are 160 bits instead of
1617
MD5's 128 bits.
1718

1819

0 commit comments

Comments
 (0)