Update the hash with data
method
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
- @param encoding
DigestEncodingto return the hash in. If none is provided, it will return aUint8Array.@param hashIntoTypedArrayto write the hash into. Faster than creating a new one each time - hashInto?: TypedArray<ArrayBufferLike>): TypedArray;
Run the hash over the given data
@param inputstring,Uint8Array, orArrayBufferto hash.Uint8ArrayorArrayBufferis faster.@param hashIntoTypedArrayto write the hash into. Faster than creating a new one each time): string;Run the hash over the given data
@param inputstring,Uint8Array, orArrayBufferto hash.Uint8ArrayorArrayBufferis faster.@param encodingDigestEncodingto return the hash in