Function Encode(x)
Dim n
n=Document.all.n.value
For i=1 to Len(x)
Encode=Encode & hex(asc(mid(x,i,1)) xor n)'加密
Next
End Function
Function NC(x)
Dim n
n=Document.all.n.value
For i=1 to Len(x) Step 2
NC=NC & Chr(CLng("&H" & Mid(x,i,2)) Xor n)'解密
Next
End Function
Sub enc()
s=""+vbcrlf+"Function DC(x)"+vbcrlf+"For i=1 to Len(x) Step 2"+vbcrlf+"DC=DC & Chr(CLng(""&H"" & Mid(x......