goog.crypt.Hash | |
goog.crypt.Sha1 | goog.crypt.Hash |
No description.
|
code » | |
![]()
Adds a byte array (array with values in [0-255] range) or a string (might
only contain 8-bit, i.e., Latin1 characters) to the internal accumulator.
Many hash functions operate on blocks of data and implement optimizations
when a full chunk of data is readily available. Hence it is often preferable
to provide large chunks of data (a kilobyte or more) than to repeatedly
call the update method with few tens of bytes. If this is not possible, or
not feasible, it might be good to provide data in multiplies of hash block
size (often 64 bytes). Please see the implementation and performance tests
of your favourite hash.
|
code » |
![]()
An array of 80 bytes, each a part of the message to be hashed. Referred to
as the message schedule in the docs.
|
Code » | |
![]()
A buffer holding the partially computed hash result.
|
Code » | |
![]()
Holds the previous values of accumulated variables a-e in the compress_
function.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Contains data needed to pad messages less than 64 bytes.
|
Code » | |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |