Hi,
You can XOR it with a "secret word". It's very simple, and the encription routine is the same as the decription. Simply convert both strings to an array of U8, and xor each element. If the secret word array passed it's last element, begin at the start (use a qotient & remainder, with the I and the array size-1).
Regards,
Wiebe.
"PaceLT1" <x@no.email> wrote in message news:1159971007444-423610@exchange.ni.com...
Hello all,
Does anyone have a simple, yet effective way to encrypt a config file? My config file holds settings and I would like to be able to encrypt it so that no one could open the file in Notepad/Wordpad and view the settings. The encryption does not need to be very complex, just good enough so that it wouldn't be readable in Notepad, etc. Thanks!