MD5 function was not working for UTF8 string...
modified crypt.js to convert a UTF string into a byte string
before calculating MD5.