Relaxlife.net can encrypt/decrypt Chinese/English ASP code for everyone to download, this is confidential, can be used in code encryption
Can encrypt/decrypt Chinese/English ASP code for everyone to download, this is confidential, can be used in code encryption
Function.asp
<%
Rem =================================================================
Rem = function File: function.asp
Rem = Test File: testencrypt.asp,encryptpass.asp
Rem = Description: Encrypt_pro encryption function, Decrypt_pro decryption function
Rem = revision:1.01 Beta
Rem = Author: Shong Hero (cexo255), Qiaoqui
Rem = Date:2005/04/20 03:41:10
Rem = qq:30133499,38377160
Rem = Mysite:http://www.relaxlife.net
Rem = QQ Group: 4341998
Rem = applicable: Encryption of data, or encryption of code, can be encrypted in Chinese/English and so on. Full decryption, will not appear garbled.
Rem = The next version is expected to improve: code algorithms need to rewrite, probably know more people are not very safe.
Rem =================================================================
Public Const sDefaultWHEEL1 = "abcdefghijklmnopqrstvuwxyz_1234567890qwertyuiopasd!@#$%^&* (),. ~ '-=?/', ' fghjklzxcvbnm<>; '
Public Const sDefaultWHEEL2 = "iwehjktlzvopfg_1234567890qwerbnmqryuasdxcfghjklzxc ~ '-=?/'" "!@#$%^&* (),.vbnm< >;TYUIOPASD "
Function Encrypt_pro (Sinput, Spassword)
Dim sWHEEL1, sWHEEL2
Dim K, C, I
Dim Sresult
sWHEEL1 = Sdefaultwheel1:swheel2 = sDefaultWHEEL2
Scramblewheels sWHEEL1, SWHEEL2, Spassword
Sresult = ""
For i = 1 to Len (sinput)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.