jsSHA 1.5.0

An Open Source JavaScript implementation of the entire family of SHA hashes in Linux
jsSHA is an open source, cross-browser and web-based software written in JavaScript and designed to implement the entire family of SHA hashes, including SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512, as they are defined in FIPS 180-2.

Please note that jsSHA also implements the SHA-512 and SHA-384 hashes, even if JavaScript doesn’t support 64-bit operations natively. It also implements HMAC (keyed-Hash Message Authentication Code).

In order to use jsSHA, you will need to include the desired JavaScript file (sha.js, sha1.js, sha256.js, or sha512.js) in your header, e.g. < script type="text/javascript" src="/path/to/sha.js" >. Then, you need to call the function using the hashed string and the algorithm, e.g. var hash = hex_sha("This is a Test", "SHA-512");.

last updated on:
December 16th, 2013, 15:13 GMT
developed by:
Brian Turek
license type:
BSD License 
ROOT \ Security


In a hurry? Add it to your Download Basket!

user rating 18



1 Screenshot
jsSHA - A demo of the jsSHA software
What's New in This Release:
  • Added optional numRounds argument to getHash. Note: this necessitated removing the hash result caching functionality
  • Reduced file size by optimizing internal constants
  • Removed charSize input and replaced with encoding to handle Unicode. NOTE: Only Code points up to 0xFFFF are supported.
read full changelog

Add your review!