打印本文 打印本文 关闭窗口 关闭窗口
静态网页加密
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2689  更新时间:2009/4/23 13:48:57  文章录入:mintao  责任编辑:mintao
a, x[i+13], 21, 1309151649); a = this.md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); d = this.md5_ii(d, a, b, c, x[i+11], 10, -1120210379); c = this.md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); b = this.md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); a = this.safe_add(a, olda); b = this.safe_add(b, oldb); c = this.safe_add(c, oldc); d = this.safe_add(d, oldd); } return Array(a, b, c, d); }, hex_hmac_md5:function(key, data){ return this.binl2hex(this.core_hmac_md5(key, data)); }, hex_md5:function(s){return this.binl2hex(this.core_md5(this.str2binl(s), s.length * this.chrsz));}, md5:function(s){return(this.hex_md5(s));}, md5_cmn:function(q, a, b, x, s, t){return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a, q), this.safe_add(x, t)), s),b);}, md5_ff:function(a, b, c, d, x, s, t){return this.md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);}, md5_gg:function(a, b, c, d, x, s, t){return this.md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);}, md5_hh:function(a, b, c, d, x, s, t){return this.md5_cmn(b ^ c ^ d, a, b, x, s, t);}, md5_ii:function(a, b, c, d, x, s, t){return this.md5_cmn(c ^ (b | (~d)), a, b, x, s, t);}, md5_vm_test:function(){return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72";}, safe_add: function(x, y){ var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xFFFF); }, str2binl: function(str){ var bin = Array(); var mask = (1 << this.chrsz) - 1; for(var i = 0; i < str.length * this.chrsz; i += this.chrsz) bin[i>>5] |= (str.charCodeAt(i / this.chrsz) & mask) << (i%32); return bin; }, str_hmac_md5:function(key, data){ return binl2str(core_hmac_md5(key, data)); }, str_md5:function(s){ return binl2str(core_md5(str2binl(s), s.length * this.chrsz));} } </script> </head> <body> <b>Source:</b><br> <textarea id=t1></textarea><br> <b>Password:</b><input type=password value=default id=p1><input type=button onclick="webEncode();" value="Start Encode"><br> <b>Encoded:</b><br> <textarea id=t2></textarea><br> <input type=button onclick="runCode();" value="Run Code"> </body> </html>

  [Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行

上一页  [1] [2] [3] 

打印本文 打印本文 关闭窗口 关闭窗口