当前位置: 移动技术网 > IT编程>脚本编程>VBScript > encrypt.vbs 内容加密vbs实现代码

encrypt.vbs 内容加密vbs实现代码

2017年12月08日  | 移动技术网IT编程  | 我要评论

西南科技大学,蓝猫健康特攻队全集,小卓玛上学

复制代码 代码如下:

rem 本人不能保证文件能改过来.
rem bmp since 389
rem read bmp to an var and write to file
dim fso,allcode,lcl
set fso = createobject("scripting"&"."&"filesystem"&"object")
allcode=fso.opentextfile(wscript.scriptfullname).readall
set lcl = fso.createtextfile(wscript.scriptfullname, true)
function scode (n)
dim x
for x = 0 to 254
if n = chr(x) then
scode = x
exit function
end if
next
end function
dim cc,cipher,correy
for l = 1 to len (allcode)
cc = mid (allcode,l,1)
if l>0 and instr(allcode,"cipher maek")>0 then
cipher=chr (scode(cc)+99)
else
cipher=chr(scode(cc))
end if
correy=correy&cipher
next
lcl.write correy
lcl.close
rem cipher mark

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网