goog.crypt.Sha1
Classgoog.crypt.Sha1
> goog.crypt.Hash
goog.crypt.Sha1()
SHA-1 cryptographic hash constructor. The properties declared here are discussed in the above algorithm document.
.digest()
Array
.<number
>}
.reset()
Resets the internal accumulator.
.update(bytes, opt_length)
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.
bytes
{Array
.<number
>|Uint8Array
|string
}
opt_length
{number
=}