Branch: Tag:

2014-08-15

2014-08-15 14:14:51 by Martin Nilsson <nilsson@opera.com>

Better MD5

24:      protected string to_md5(string url)   { -  Crypto.MD5 md5 = Crypto.MD5(); -  md5->update(string_to_utf8(url)); -  return String.string2hex(md5->digest()); +  return String.string2hex(Crypto.MD5.hash(string_to_utf8(url)));   }      //! @param _url