Skip to content

Releases: Caligatio/jsSHA

Release version 1.6.0

08 Mar 18:35
Compare
Choose a tag to compare

This marks the last v1.X new feature release. The API is changing significantly with upcoming v2.0 to support streaming and it will be too difficult to support the older API style with new features.

Changelog for this release:

  • Added a BYTES input and output format that is a raw byte string
  • Fixed broken AMD support (thanks drewcovi!)
  • Fixed broken UTF-8 parsing on non-BMP Unicode characters
  • Changed array references to remove warnings on Icedove
  • Replaced "UTF16" encoding with "UTF16BE" (big endian) and "UTF16LE" (little endian) to remove confusion

Release version 1.5.0

15 Dec 17:56
Compare
Choose a tag to compare

Changelog for 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.
    • 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!)