Static
Readonly
byteThe number of bytes the hash will produce
Finalize the hash
DigestEncoding
to return the hash in. If none is provided, it will return a Uint8Array
.
Finalize the hash
Optional
hashInto: TypedArrayTypedArray
to write the hash into. Faster than creating a new one each time
Static
hashRun the hash over the given data
string
, Uint8Array
, or ArrayBuffer
to hash. Uint8Array
or ArrayBuffer
is faster.
Optional
hashInto: TypedArrayTypedArray
to write the hash into. Faster than creating a new one each time
Run the hash over the given data
string
, Uint8Array
, or ArrayBuffer
to hash. Uint8Array
or ArrayBuffer
is faster.
DigestEncoding
to return the hash in
Generated using TypeDoc
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