<html> <head> <title>md5_Test</title> <script type="text/javascript" src="https://www.jb51.net/article/md5.js"></script> <link type="text/css" href="https://www.jb51.net/bearfly.css" /> </head> <body> <script type="text/javascript"> document.write("myPassword MD5: ",hex_md5("md5Test").toUpperCase()); </script> </body> </html>
补充:javascript 的MD5代码备份,跟java互通