jssha256: SHA256 & HMAC-SHA256 in JavaScript jssha256 is a compact JavaScript implementation of the SHA256 secure hash function. HMAC calculation is also available. Example The following code example computes the SHA256 hash value of the string 'abc'. SHA256_init(); SHA256_write("abc"); digest = SHA256_finalize(); digest_hex = array_to_hex_string(digest); Get the same result by calling the shortcu