基本信息
源码名称:js实现MD5加密 例子源码
源码大小:0.02M
文件格式:.zip
开发语言:js
更新时间:2016-06-27
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
<!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></title>
</head>
<body>
<textarea id="id1" style="width:500px;height:300px"></textarea><br><br>
<input type="button" value="加密" id="id2" onClick="a()">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.md5.js"></script>
<script type="text/javascript">
function a()
{
var bianliang = document.getElementById("id1").value
window.document.getElementById("id1").value = $.md5(bianliang);
}
</script>
</body>
</html>