Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Encryption & Unencrytion Funtion
Author:
Mandi
E-mail:
Click to e-mail author
Website:
http://www.biocom.com
Submitted:
2/14/2005
Version:
VB5, VB6
Compatibility:
VB5, VB6
Category:
Security
Views:
18335
You may use this sample routine to encrypt and unencrypt a string.
Declarations:
'none
Code:
Function CoDecodeXOR(ByVal Cadena As String) As String Dim sBuffer As String, l As Long sBuffer = Space$(Len(Cadena)) For l = 1 To Len(Cadena) Mid$(sBuffer, l, 1) = Chr$(Asc(Mid$(Cadena, l, 1)) Xor 7) Next l CoDecodeXOR = sBuffer End Function
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement