相思资源网 Design By www.200059.com
复制代码 代码如下:
var lishustr = "qwertyuiopasdfghjklmnbvcxz";
var s = lishustr.split("");
var lishua = ""; var lishub = ""; var lishuc = ""; var lishud = "";
lishua = s[getRandomNum(1,26)]; lishub = s[getRandomNum(1,26)]; lishuc = s[getRandomNum(1,26)]; lishud = s[getRandomNum(1,26)];
switch ("abcdefghijklmnopqrstuvwxyz".indexOf(lishud) + 1) {
case 1: case 2: case 3: case 4: case 5: case 6: case 7:
md5words = md5words + lishua + lishub + lishuc + lishud; break;
case 8: case 9: case 10: case 11: case 12: case 13: case 14:
md5words = lishua + md5words + lishub + lishuc + lishud; break;
case 15: case 16: case 17: case 18: case 19: case 20:
md5words = lishua + lishub + md5words + lishuc + lishud; break;
case 21: case 22: case 23: case 24: case 25: case 26:
md5words = lishua + lishub + lishuc + md5words + lishud; break;
}
function getRandomNum(lbound, ubound) {
return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}

本文网址: http://www.lantian360.com/blueblog/blog.asp?id=G37
转发请保留此网址,谢谢合作。
标签:
干扰数据,加密

相思资源网 Design By www.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com

评论“javascript增加干扰数据实现简单加密效果”

暂无javascript增加干扰数据实现简单加密效果的评论...