手机
当前位置:查字典教程网 >编程开发 >脚本加解密 >关于加密解密 Base64 and URL and Hex Encoding and Decoding
关于加密解密 Base64 and URL and Hex Encoding and Decoding
摘要:今天想换一下Discuz论坛的风格,谁知下载风格文件后,发现竟然是通过Base64加密过的小林给推荐了个解密的页面,提取出代码如下:复制代码...

今天想换一下Discuz论坛的风格,谁知下载风格文件后,发现竟然是通过Base64加密过的

小林给推荐了个解密的页面,提取出代码如下:

复制代码 代码如下:

<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">

<html>

<head>

<title>Base64andURLandHexEncodingandDecoding</title>

<metaname="description"content="EncodesordecodesdatainBase64orURLencodingusingclientsideJavaScript"/>

<metaname="keywords"content="base64,base64,urlencode,urldecode,hexencode,hexencode,hexdecodehexdecode,javascriptbase64,javascriptbase64,javascripturlencode,javascripturldecode,javascripthexencode,javascripthexdecode"/>

<linkrel="shortcuticon"href="http://ostermiller.org/favicon.ico"type="image/x-icon"/>

<scriptlanguage=javascripttype="text/javascript">

<></script>

</head>

<body>

<formname=codeonsubmit="returnfalse()">

<textareaname=textstyle='width:100%;height:75%;'onfocus='if(this.value=="Entertexttoencodeordecodehere."){this.value="";}'>Entertexttoencodeordecodehere.</textarea>

<table>

<tr><tdalign=center>

<inputvalue="Encode"type=buttononclick="document.code.text.value=urlEncode(document.code.text.value);">

</td><tdalign=center>

URL

</td><tdalign=center>

<inputvalue="Decode"type=buttononclick="document.code.text.value=urlDecode(document.code.text.value);">

</td></tr>

<tr><tdalign=center>

<inputvalue="Encode"type=buttononclick="document.code.text.value=encodeBase64(document.code.text.value);">

</td><tdalign=center>

Base64

</td><tdalign=center>

<inputvalue="Decode"type=buttononclick="document.code.text.value=decodeBase64(document.code.text.value);">

</td></tr>

<tr><tdalign=center>

<inputvalue="Encode"type=buttononclick="document.code.text.value=encodeHex(document.code.text.value);">

</td><tdalign=center>

Hex

</td><tdalign=center>

<inputvalue="Decode"type=buttononclick="document.code.text.value=decodeHex(document.code.text.value);">

</td></tr>

<tr><tdalign=center>

</td><tdalign=center>

<inputtype=resetvalue=Clear>

</td><tdalign=center>

</td></tr>

</table>

</form>

<hr>

Base64encode/decodewasportedfroma<ahref="http://ostermiller.org/utils/Base64.html">JavaBase64encoder/decoder</a>.<br>

Base64encode/decodewasportedto<ahref="http://ostermiller.org/base64_actionscript.html">MacromediaActionscript</a>.<br>

<h3>License</h3>

<p>Thisprogramisfreesoftware;youcanredistributeitand/ormodifyit

underthetermsoftheGNUGeneralPublicLicenseaspublishedbytheFree

SoftwareFoundation;eitherversion2oftheLicense,or(atyouroption)

anylaterversion.</p>

<p>Thisprogramisdistributedinthehopethatitwillbeuseful,

butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyofMERCHANTABILITY

orFITNESSFORAPARTICULARPURPOSE.Seethe

<ahref="http://www.gnu.org/copyleft/gpl.html">GNU

GeneralPublicLicense</a>formoredetails.</p>

<divstyle="padding:0.2cm;"><ahref="http://ostermiller.org/calc/">Moreconverters,calculators,andotherJavaScriptgoodies</a></div>

<divstyle="padding:0.2cm;text-align:right;"><ahref="http://ostermiller.org/">ostermiller.org</a>(<ahref="http://ostermiller.org/siteindex.html">siteindex</a>)</div>

<divstyle="padding:0.2cm;"><p>Copyright<ahref="http://ostermiller.org/contact.pl?regarding=JavaScript+Encoding"class=mail>StephenOstermiller</a>2003-2006</p></div>

</body>

</html>

【关于加密解密 Base64 and URL and Hex Encoding and Decoding】相关文章:

教你巧用iPhone闹钟功能战胜春困

苹果iPhone6s/6s Plus配置升级的三大畅想

iOS 8.2怎么省电 iOS 8.2健康追踪功能怎么关

个性化你的Win8桌面图标

ASP代码加密

Md5密码在线破解

手把手教你辨别官翻以及二手iPhone

iPhone5s泡了酒精之后就变成大杯具了

ios8.1升级后没有选择2g/3g/4g选项的原因

2015苹果春季新品发布会前必知 iWatch/Apple Watch的8个细节汇总

精品推荐
分类导航