This module implements the interface to NIST's
update(string)
is made.
The following values are provided as constants in the module and as attributes of the sha objects returned by new():
1
. This size is used to allow an arbitrary string to be
hashed.
20
.
A sha object has all the methods the md5 objects have, plus one:
See Also:
The Secure Hash Algorithm is defined by NIST document FIPS PUB 180-1: Secure Hash Standard, published in April of 1995. It is available online as plain text at http://csrc.nist.gov/fips/fip180-1.txt (at least one diagram was omitted) and as PostScript at http://csrc.nist.gov/fips/fip180-1.ps.