Computes an SHA256 hash. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.
The data to hash
Optional
The maximum number of bytes to receive. Leave as undefined or 0 to receive the entire digest.
the data's hash digest
Generated using TypeDoc
Computes an SHA256 hash. Use this if you don't need to stream the data you're hashing and can load the entire input into memory.