Expand description

Code related to SHA_256

Functions

Get the digest of the buffer

example
const buffer = new TextEncoder().encode("a file");
const digest = SHA_256.digest(buffer);

Get the hex string of the digest

example
const hash = SHA_256.hexify(digest);