This class only exists in types
constructor
SHA256.constructor
Referenced types
class SHA256
- @param encoding
DigestEncoding
to return the hash in. If none is provided, it will return aUint8Array
.@param hashIntoTypedArray
to 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
, orArrayBuffer
to hash.Uint8Array
orArrayBuffer
is faster.@param hashIntoTypedArray
to write the hash into. Faster than creating a new one each time): string;Run the hash over the given data
@param inputstring
,Uint8Array
, orArrayBuffer
to hash.Uint8Array
orArrayBuffer
is faster.@param encodingDigestEncoding
to return the hash in