标题:这解密的代码如何写?
取消只看楼主
asdcxz1982
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2011-3-20
结帖率:0
已结贴  问题点数:20 回复次数:0 
这解密的代码如何写?
程序代码:
<%
Function nbhao(CodeStr)
Dim CodeLen
Dim CodeSpace
Dim NewCode
CodeLen = 32
CodeSpace = CodeLen - Len(CodeStr)
If Not CodeSpace < 1 Then
For cecr = 1 To CodeSpace
CodeStr = CodeStr & Chr(21)
Next
End If
NewCode = 1
Dim Been
For cecb = 1 To CodeLen
Been = CodeLen + Asc(Mid(CodeStr,cecb,1)) * cecb
NewCode = NewCode * Been
Next
CodeStr = NewCode
NewCode = Empty
For cec = 1 To Len(CodeStr)
NewCode = NewCode & CfsCode(Mid(CodeStr,cec,3))
Next
For cec = 20 To Len(NewCode) - 18 Step 2
nbhao = nbhao & Mid(NewCode,cec,1)
Next
End Function
Function CfsCode(Word)
For cc = 1 To Len(Word)
CfsCode = CfsCode & Asc(Mid(Word,cc,1))
Next
CfsCode = Hex(CfsCode)
End Function
%>


上面的代码是加密的。加密后的密码要如何解密?


 

[ 本帖最后由 asdcxz1982 于 2011-3-24 21:03 编辑 ]
搜索更多相关主题的帖子: 解密 如何 
2011-03-20 23:09



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-334270-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.165307 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved