Use MD5 encryption method:
download md5.js file reference the file in a Web page:
< script type="text/javascript" src="md5.js">< /script>
So call where you need to use the MD5 encryption:
< script type="text/javascript" >
hash = hex_md5("input string");
< /script>
Transfer: https: //www.cnblogs.com/fozero/p/6211844.html