Update the hash with data
Symbol
SHA1.update
Referenced types
type BlobOrStringOrBuffer = string | NodeJS.TypedArray | ArrayBufferLike | Blob
class SHA1
This is not the default because it's not cryptographically secure and it's slower than SHA512
Consider using the ugly-named SHA512_256 instead
Finalize the hash
@param encodingDigestEncoding
to return the hash in. If none is provided, it will return aUint8Array
.Finalize the hash
@param hashIntoTypedArray
to write the hash into. Faster than creating a new one each timeRun the hash over the given data
@param inputstring
,Uint8Array
, orArrayBuffer
to hash.Uint8Array
orArrayBuffer
is faster.@param hashIntoTypedArray
to write the hash into. Faster than creating a new one each timeRun the hash over the given data
@param inputstring
,Uint8Array
, orArrayBuffer
to hash.Uint8Array
orArrayBuffer
is faster.@param encodingDigestEncoding
to return the hash in