Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Encryption 1998-02-10 -- Jerry Ray The following code should do it. The same code will encrypt and decrypt the string
provided the key value is the same both times.
KeyValue = 1000 ! This will vary
Field = 'Example Text to Encrypt'
LOOP Count = 1 TO LEN(Field)
X = BXOR(Val(Field[Count]), KeyValue)
Field[Count] = CHR(X)
END
Today is November 21, 2024, 3:49 am This article has been viewed 35188 times.
|
|