HTML原代码加、解密脚本

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<title>html原代码加、解密脚本</title>
<style type="text/css教程">
<!--
.coolalpha {behavior:url(eyun_alpha.htc);cursor:hand;filter:alpha(opacity=50);}
-->
</style>
</head>

<body leftmargin="0" topmargin="0">
<script language=网页特效><!--
var i=0;
var ie=(document.all)?1:0;
var ns=(document.layers)?1:0;
function initstyleelements() /* styles for buttons init */
{
var c = document.pad;
if (ie)
{
//c.text.style.backgroundcolor="#dddddd";
c.compileit.style.backgroundcolor="#c0c0a8";
c.compileit.style.cursor="hand";
c.select.style.backgroundcolor="#c0c0a8";
c.select.style.cursor="hand";
c.view.style.backgroundcolor="#c0c0a8";
c.view.style.cursor="hand";
c.retur.style.backgroundcolor="#c0c0a8";
c.retur.style.cursor="hand";
c.clear.style.backgroundcolor="#c0c0a8";
c.clear.style.cursor="hand";
}
else return;
}
/* buttons enlightment of "compilation" panel */

function focuson(what)
{
if (ie) what.style.backgroundcolor = '#ebebeb';
else return;
}

function focusoff(what)
{
if (ie) what.style.backgroundcolor = '#dddddd';
else return;
}
/* buttons enlightment of "compilation" panel */
function generate() /* generation of "compilation" */
{
code = document.pad.text.value;
if (code)
{
document.pad.text.value='compiling...please wait!';
settimeout("compile()",1000);
}
else alert('first enter something to compile and then press compileit')
}
function compile() /* the "compilation" */
{
document.pad.text.value='';
compilation=escape(code);
document.pad.text.value="<script>n<!--ndocument.write(unescape(""+compilation+""));n//-->n</script>";
i++;
if (i=1) alert("page compiled 1 time!");
else alert("page compiled "+i+" times!");
}
function selectcode() /* selecting "compilation" for copying */
{
if(document.pad.text.value.length>0)
{
document.pad.text.focus();
document.pad.text.select();
}
else alert('nothing for be selected!')
}
function preview() /* preview for the "compilation" */
{
if(document.pad.text.value.length>0)
{
pr=window.open("","preview","scrollbars=1,menubar=1,status=1,width=700,height=320,left=50,top=110");
pr.document.write(document.pad.text.value);
}
else alert('nothing for be previewed!')
}
function uncompile() /* decompiling a "compilation" */
{
if (document.pad.text.value.length>0)
{
source=unescape(document.pad.text.value);
document.pad.text.value=""+source+"";
}
else alert('you need compiled code to uncompile it!')
}
// -->
</script>

<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
    <td bgcolor="#3568ac"></td>
    <td width="87" height="1"></td>
    <td width="460" height="1" bgcolor="#3568ac"></td>
    <td width="100" height="1"></td>
    <td bgcolor="#3568ac"></td>
  </tr>
  <tr>
    <td bgcolor="#3568ac" height="30"></td>
    <td height="30" colspan="3" class="cn"><div align="center"><strong>html原代码加、解密脚本</strong></div></td>
    <td bgcolor="#3568ac" height="30"></td>
  </tr>
  <tr>
    <td bgcolor="#3568ac"></td>
    <td height="296" colspan="3" align="center" class="gp">
<form name=pad method=post align="center">
<textarea name=text rows=11 cols=50></textarea>
<br><br>
<input  onclick=generate()  type=button value=加密 name=compileit>
&nbsp;
<input  onclick=selectcode()  type=button value=全选 name=select>
&nbsp;
<input  onclick=preview()  type=button value=预览 name=view>
&nbsp;
<input  onclick=uncompile()  type=button value=解密 name=retur>
&nbsp;
<input   type=reset value=清除 name=clear></form> 
 </td>
    <td bgcolor="#3568ac"></td>
  </tr>
  <tr>
    <td bgcolor="#3568ac" height="6"></td>
    <td height="8" colspan="3" class="cn"></td>
    <td bgcolor="#3568ac" height="6"></td>
  </tr>
  <tr>
    <td bgcolor="#3568ac"></td>
    <td colspan="3" align="center"> <input type="button" name="submit2" value="关闭窗口" onclick="window.close()" style="cursor:hand"

onfocus="if(this.blur)this.blur()">
    </td>
    <td bgcolor="#3568ac"></td>
  </tr>
  <tr>
    <td bgcolor="#3568ac" height="6"></td>
    <td height="8" colspan="3" class="cn"></td>
    <td bgcolor="#3568ac" height="6"></td>
  </tr>
</table>

</body>
</html>

时间: 2024-09-20 17:47:38

HTML原代码加、解密脚本的相关文章

js加解密 脚本解密_javascript技巧

function MyDecode(str) { var i,k,str2=""; k=str.split("."); for(i=0;i<k.length;i++) { str2+=String.fromCharCode(k[i]^0x12); } return str2; } myrand="46.97.115"; WScript.echo(MyDecode(myrand)); function Encrypt(str) { var m

VBS 加解密 For MS Script Encode

这篇文章主要介绍了微软自己的代码加解密实现方法,需要的朋友可以参考下   一.加密 复制代码 代码如下: Dim ObjectFSO If (lcase(right(wscript.fullname,11))="wscript.exe") Then  WScript.Quit(0) End If If wscript.arguments.count<2 Then  Wscript.Echo "VBS Code Encoder v1.0 Powered by ENUN.

再谈web.config/app.config敏感数据加/解密的二种方法

转载请注明来自"菩提树下的杨过"-http://www.cnblogs.com/yjmyzz/archive/2008/08/22/1274395.html   一.利用代码加解密   using System.Web.Configuration;     //加密web.Config中的指定节    private void ProtectSection(string sectionName)     {         Configuration config = WebConfi

JScript.Encode 脚本在线解密 代码_脚本加解密

JScript.Encode 脚本在线解密 用途:   1. 解密英文信函(如果您想加密/解密中文信函等等,请查阅 文本 Unicode 码加密与解密 ):   2. 秘密数字信息:   3. BBS 等上面发布英文.数字留言:   4. 网页解密.   此类 JScript.Encode 码解密,只解密英文.符号,对中文文字不解密.   使用本页面可以解密 javascript 函数,将 script 标记中的内容复制后进行解密(可多次解密),然后将标记修改为 <script language

Javascript C#真正可以交互的DES加解密代码_实用技巧

因项目需要,要用js加密后,提交给C#解密, 在网上找了半天,网上有无数个版本,却找不到一个能互相使用的 甚至就连都是js版本的,都不能互通,汗一个. 因为时间关系,没有去深究加密代码,就随便下载了一个JS版本的, 并把它改写成C#版本的 这样JS加密后的结果,C#也能解密 反之C#加密后的结果,JS也能解密 我把它发出来给大家共享吧 注:源代码是VS.Net2008版本创建的,里面包含js的加解密函数和C#的加解密函数 如果你找到什么bug,或有啥好建议,不妨联系一下俺,呵呵: btw:在改写

c-各位大神,请问:我手上有一套DES的加解密代码,请问如何把他扩展成3DES的代码呢?

问题描述 各位大神,请问:我手上有一套DES的加解密代码,请问如何把他扩展成3DES的代码呢? 代码形式如下: jiami(before,key,after) jiemi(before,key,after) 要怎么组合成3DES的加解密呢??? 我知道3DES的流程是:加密 解密 加密,但是具体一点是这样的吗: 1 先用key1加密明文,生成密文1 2 再用key2解密密文1,生成一个解密后的文件 3 最后用key3加密步骤2解密后的文件 是这样的步骤吗? 谢谢!! 解决方案 其实你可以参考3D

php或linux代码如何实现idea ecb加解密?急, 在线等!

问题描述 php或linux代码如何实现idea ecb加解密?急, 在线等! lamp环境下,如何进行idea ecb加解密?openssl.mcrypt或其他.

100分求C#和C++都能够加解密的代码

问题描述 我有一个DLL是用VC写的DES加密,但是用VC的DES加密后的密文用C#解密不了,因此很郁闷,只能把C++的DLL放到服务器上让C#来调,这样勉强解决,但后来又用的是免费空间了,人家不让用VC的DLL了,顺便说一下用的是常来网的免费空间http://web.99081.com/sysweb/RegTrans.aspx?CodeProvider=ymfhcn支持ASP.NET2.0,我本地调用VC的DLL是正常的,但在免费空间里就不行,因此求一个解决方案,让C++和c#都能够正常加解密

php5数字型字符串加解密代码_php技巧

<?php /* ---------------------------------------------------------------------------- * Script Name: encrypt.php * Creation Date: 2008-4-7 10:36 * Last Modified: 2008-4-12 16:00 * Author: meyu * Copyright (c) 2007 * Purpose: 数字字符串简易加解密 * ------------