how to convert string to md5 in javascript code example Example: js create md5 hash var md5Hash = CryptoJS.MD5("Test");