History

Change History

15 Dec 2002Version 2.1, which now supports binary string outputs. For wider compatibility, the nested functions are gone and the semi-colons are back. I've dropped backwards compatibility for the calcMD5() style interface.
02 Oct 2002Significant rewrite, sufficient to call this version 2.0. The code now supports base-64 output, unicode string input and HMAC. Version 1.0 of the scripts are still available.
25 June 2001Renamed the add function to safe_add because add is a reserved word in ActionScript. Reported by Amanuel Workneh.
8 May 2001All variables are now prefixed with var to make them local. Suggested by Richard Mitchell and Ian Richardson.
25 Jan 2001The code now works on Macintoshes, thanks to Greg Holt and Andrew Kepert.
1 July 2000Restuctured code a bit for better readability.
6 May 2000The code now returns a lower-case hex string, like most MD5 functions. Thanks to Brian Lozier for noticing this. If you want upper-case: calcMD5("message").toUpperCase()
25 Mar 2000Code changed to use charCodeAt function instead of the dodgy sAscii variable. Thanks to Erik Johnson.
8 Mar 2000Calls to Math.pow removed, now I've discovered the >>> operator.
15 Feb 2000The code now works in Opera, because Peter Valach fixed a precedence problem.

Future Plans

  • Improved example login system
  • Object-orientated interface
  • Streaming support
  • SHA-256, RIPEMD-160

© 1998 - 2008 Paul Johnston, distributed under the BSD License   Updated:15 Dec 2007