class
SHA1
class SHA1
This is not the default because it's not cryptographically secure and it's slower than SHA512
Consider SHA512_256 instead
- @param encoding
DigestEncodingto return the hash in. If none is provided, the hash is returned as aUint8Array@param hashIntoTypedArrayto write the hash into. Faster than creating a new one each time - @param data
Data to add to the hash
- 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