jQuery MD5 加密插件及使用方法

编写格式:$(md("你想要加密的字符串"));

Md5插件下载地址:http://www.veryhuo.com/uploads/Common/js/jQuery.md5.js

下面是我的简单例子

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<title>benhailong.com</title> 
<script type="text/JavaScript" src="/uploads/Common/jQuery-1.3.2.min.js"></script> 
<script type="text/javascript" src="/uploads/Common/js/jquery.md5.js"></script> 
<script type="text/javascript"> 
alert($.md5("Hello,benhailong.com")); 
</script> 
</head> 
<body> 
</body> 
</html>
Last modification:December 14th, 2017 at 11:41 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment