jsSHA Changelog

What's new in jsSHA 2.0.1

Jul 28, 2015
  • Fixed major issue with all hashes failing if raw input was a particular size (thanks treus!)

New in jsSHA 1.5.0 (Dec 16, 2013)

  • 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.
  • charSize = 16 is effectively replaced by encoding = "UTF16"
  • charSize = 8 was wrong in terms of handling UTF-8 and has been replaced by encoding = "UTF8"
  • Changed method of referencing "window" to be compatible with WebWorkers, Node.js, and AMD (thanks piranna!)

New in jsSHA 1.3 (Sep 1, 2010)

  • The way that classes are declared was changed.
  • Several methods and properties were moved to class scope, reducing overall memory usage of the library.
  • Several small optimizations that speed up the hash generation were also made.

New in jsSHA 1.11 (Dec 10, 2008)

  • This release fixes a base-64 encoding issue resulting from a missing capital 'X'.

New in jsSHA 1.1 (Sep 27, 2008)

  • In order to prevent global variable pollution, all functionality has been moved to a jsSHA object.
  • With this change, the interface used to calculate hashes has changed significantly.
  • The object-orientated architecture also allowed for hash results to be cached internally, which can lead to performance gains.
  • jsSHA (specifically sha.js) now validates against JSLint using "Recommended" settings.
  • Also, the size of the files meant for production use was shrunk drastically.