CHANGELOG 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. -------------------------
  2. jsSHA - ChangeLog
  3. -------------------------
  4. 1.5 (2013-12-15)
  5. =========================
  6. - Added optional numRounds argument to getHash
  7. - Note: this necessitated removing the hash result caching functionality
  8. - Reduced file size by optimizing internal constants
  9. - Removed charSize input and replaced with encoding to handle Unicode. NOTE:
  10. Only Code points up to 0xFFFF are supported.
  11. - charSize = 16 is effectively replaced by encoding = "UTF16"
  12. - charSize = 8 was wrong in terms of handling UTF-8 and has been replaced by
  13. encoding = "UTF8"
  14. - Changed method of referencing "window" to be compatible with WebWorkers,
  15. Node.js, and AMD (thanks piranna!)
  16. 1.42 (2012-12-28)
  17. =========================
  18. - Readded v1.4 Safari patch to support older versions
  19. 1.41 (2012-12-23)
  20. =========================
  21. - Fixed incorrect hash issue with Chrome x64 v25 (Dev channel), also provides
  22. stable patch to v1.4 Safari issue.
  23. 1.4 (2012-12-08)
  24. =========================
  25. - Added new input type, TEXT, that is functionally identical to ASCII*
  26. - Added new input type, B64, for base-64 encoded strings
  27. - Added new input and output formatting parameters
  28. - getHash and getHMAC take an optional parameter, outputFormatOpts,
  29. that is a hash list containing the keys "outputUpper" (boolean, only
  30. applicable to HEX output) and "b64Pad" (string, only applicable to Base-64
  31. output) that have default values of false and "=", respectively
  32. - jsSHA constructor takes an optional parameter, charSize (8 or 16) that
  33. specifies the character width of the input (TEXT and ASCII input only)
  34. - Modified comments to be Google Closure Compiler compliant
  35. - Added a SUPPORTED_ALGS flag that, when used with the Google Closure Compiler,
  36. will remove unused functions/function portions
  37. - Removed all src/*_nice.js files as the SUPPORTED_ALGS flag renders them
  38. obsolete
  39. - All production-ready files are now produced using the Google Closure Compiler
  40. with ADVANCED_OPTIMIZATIONS resulting in further reduced filesizes
  41. - The SHA-1 only implementation now requires that that "SHA-1" be specified as
  42. the variant when using getHash and getHMAC
  43. - Removed test/HMAC.py as new NIST tests made the need for it obsolete
  44. - Significantly changed the test/test.html to make it easier to understand and
  45. to allow for easier adding of test cases
  46. - Replaced previous error returning code with thrown exceptions
  47. - Fix for 64-bit Safari issue (thanks Ron Garret and Chris Warren-Smith!)
  48. - NOTE: While this fix works, it is merely a workaround for a WebKit JavaScript
  49. optimizer bug, see https://bugs.webkit.org/show_bug.cgi?id=88673 for more detail
  50. * This library misused the term ASCII so input type of TEXT was added with the
  51. intention of deprecating ASCII
  52. 1.31 (2012-07-21)
  53. =========================
  54. - Updated project URL to point to new GitHub repository
  55. - Added a compressed version of sha.js
  56. 1.3 (2010-09-01)
  57. =========================
  58. - Changed method of declaring objects/classes
  59. - Moved non-instance specific variables and methods to class scope
  60. - Removed logically correct but unneeded conditionals
  61. 1.2 (2009-07-22)
  62. =========================
  63. - Added the HMAC algorithm for all supported hashes (using both ASCII and hex
  64. keys)
  65. - As a result of adding HMAC, added support for hash input text to be hex
  66. (ASCII representation of hex)
  67. - Added multiple variants of safeAdd functions, resulting in a significant
  68. performance gain
  69. - Removed wrapper.js file
  70. - Used a different JavaScript compressor resulting in smaller file sizes
  71. 1.11 (2008-12-07)
  72. =========================
  73. - Fixed a base-64 encoding issue resulting from a missing capital 'X'
  74. 1.1 (2008-09-25)
  75. =========================
  76. - Fixed an issue with incorrect hashes being generated when jsSHA ojbects were
  77. used to generate multiple hashes
  78. 1.0 (2008-09-25)
  79. =========================
  80. - Made all functions/variables follow an object-orientated methodology
  81. - Removed support for string hash output as the hash is rarely ASCII friendly
  82. - Changed the interface to calculate hashes (see README)
  83. - Made sha.js validate against JSLint (http://www.jslint.com/) using
  84. "Recommended" settings
  85. 0.1 (2008-02-21)
  86. =========================
  87. - Initial public release