Skip to content

Version 1.1 (2001-06-15) Paul Johnston

Compare
Choose a tag to compare
@CodeByZach CodeByZach released this 28 Jul 20:15
· 13 commits to master since this release
  • Renamed the add function to safe_add because add is a reserved word in ActionScript. Reported by Amanuel Workneh.
  • All variables are now prefixed with var to make them local. Suggested by Richard Mitchell and Ian Richardson.
  • The code now works in IE for Macintosh, thanks to Greg Holt and Andrew Kepert.
  • The code now returns a lower-case hex string, like most MD5 functions. Thanks to Brian Lozier for noticing this.
  • Code changed to use charCodeAt function instead of the dodgy sAscii variable. Thanks to Erik Johnson.
  • Calls to Math.pow removed, now I've discovered the >>> operator.
  • The code now works in Opera, because Peter Valach fixed a precedence problem.