simple string encryption

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm working on a little project that requires lightweight string encryption
and I found this: http://www.devx.com/tips/Tip/5676 which seems to be a
fast and small xor encryption algorithm. It works fine based upon the
example, but if I dump the encrypted string into a textbox and then read the
string from the textbox and feed it back to the routine, it doesn't decrypt
the string. Does adding it to a textbox introduce any additional characters
that throw off the routine? I'm just using a normal textbox set to multiline
with a vertical scrollbar.

Any input appreciated

Matt


.


Quantcast