Originally posted by namejm at 2006-7-21 03:48 PM:
3742668版主的加密用到了字符的截取和字符的置换,呵呵,得把密码学的常用方法学到手才行,不过这样写代码要自己手握一份字符置换表,有点累人啊。
我对后来某人的程序修改了一下。
让字符置换表随机生成(后果就是开始的时候暴费时间)
不过加密效果还可以。
生成的字符置换表就是BAT的运行密码。所以。不要忘了。。。
因为开变量延迟会让!错误解释。所以把生成模块单放了。
Last edited by knoppix7 on 2007-7-27 at 09:12 AM ]
Originally posted by namejm at 2006-7-21 03:48 PM:
The encryption of version 3742668 uses character interception and character replacement. Hehe, one needs to learn common methods in cryptography. However, writing code like this requires having a character replacement table on hand, which is a bit tiring.
I modified someone's later program.
Let the character replacement table be generated randomly (the consequence is that it takes a lot of time at the beginning)
But the encryption effect is still okay.
The generated character replacement table is the running password of the BAT. So... don't forget...
Because opening variable delays will cause! to be misinterpreted. So I put the generation module separately.
Last edited by knoppix7 on 2007-7-27 at 09:12 AM ]