js create md5 hash

JavaScript
    var md5Hash = CryptoJS.MD5("Test");
Source

Also in JavaScript: