再求asp中vencode解密后再加密回去的方法

来源:百度知道 编辑:UC知道 时间:2024/06/02 01:10:41
首先感谢"失落的糖果"回答了我上一个问题~~希望能再得到您的不吝赐教~

下面这段代码现在是加密的,我的问题是把它解密后如何再把它还原回来呢?
venshopcom="iptu>mdbtf)sfrvftu/tfswfswbsjbcmft)#IUUQ`IPTU#**|jg!jotus)iptu-#cppndbmm/dpn#*=>1!boe!iptu=?#mpdbmiptu#!boe!!iptu=?#238/1/1/2#!uifo|sftqpotf/sfejsfdu!#iuuq;00xxx/wfotipq/dpn0#|sftqpotf/foe|foe!jg|sftqpotf/xsjuf!#=ubcmf!xjeui>611!cpsefs>1!dfmmtqbdjoh>2!dfmmqbeejoh>6!chdpmps>$D9D9D9?=us?=ue!ifjhiu>2:!chdpmps>$G1G1G1?=c?#|sftqpotf/xsjuf!fssnft2|sftqpotf/xsjuf!#=0c?=0ue?=0us?=us?=ue!wbmjho>upq!ifjhiu>27!chdpmps>$GGGGGG?#|tfu!st>tfswfs/dsfbufpckfdu)#bepec/sfdpsetfu#*|trm>#tfmfdu!+!gspn!wfotipq`tpsu!psefs!cz!tpsu`je!EFTD#|st/pqfo!trm-dpoo-2-2|jg!st/cpg!boe!st/fpg!uifo|sftqpotf/xsjuf!fssnft3|fmtf|ep!xijmf!opu!st/fpg|je>st)#tpsu`je#*|tpsu`obnf>sfqmbdf)st)#tpsu`obnf#*-#(#-##*|sftqpotf/xsjuf!#=ubcmf!dfmmtqbdjoh>1!dfmmqbeejoh>1!xjeui>211&!!cpsefs>1!tuzmf>(cpsefs.dpmmbqtf;!dpmmbqtf(!cpsefsdpmps>$222222?#|sftqpotf/xsjuf!#

其实这个加密函数网上到处都是,只是你上次问的,在加密时函数内venshopbut的值小小的改变了一下,解密时,也相应的改一下就可以了~
加密和解密时,venshopbut的值一样,就OK了~

<textarea name="t" style="width:300;height:200">
host=lcase(request.servervariables("HTTP_HOST")){if instr(host,"boomcall.com")<=0 and host<>"localhost" and host<>"127.0.0.1" then{response.redirect "http://www.venshop.com/"{response.end{end if{response.write "<table width=500 border=0 cellspacing=1 cellpadding=5 bgcolor=#C8C8C8><tr><td height=19 bgcolor=#F0F0F0><b>"{response.write errmes1{response.write "</b></td></tr><tr><td valign=top height=16 bgcolor=#FFFFFF>"{set rs=server.createobject("adodb.recordset"){sql="select * from venshop_sort order by sort_id DESC"{rs.open sql,conn,1,1{if rs.bof and rs.eof then