jsSHA

About

jsSHA is a JavaScript implementation of the entire family of SHA hashes as defined in FIPS PUB 180-4 and FIPS PUB 202 (SHA-1, SHA-224, SHA3-224, SHA-256, SHA3-256, SHA-384, SHA3-384, SHA-512, SHA3-512, SHAKE128, and SHAKE256) as well as HMAC as defined in FIPS PUB 198-1. jsSHA is also 100% cross-browser compatible and works with Node.js.

Newest Release / Download

As of 10 July 2016, the newest release is v2.2.0 and can be found at GitHub.

Demo

Be aware that if JavaScript is disabled in your browser there is the possibility that information entered into the below fields may be transmitted to the GitHub web servers. Ensure that JavaScript is enabled to prevent this possibility.

Hashing Demo

Simply insert your text to be hashed, input type, the SHA variant you wish to use, and the output format.
Note: You may have to scroll the output text for longer length hashes

HMAC Demo

Simply insert your text to be hashed, text type, key, key type, the SHA variant you wish to use, and the output format.
Note: You may have to scroll the output text for longer length hashes