Page 4 of 4

Re: NXC Questions

Posted: 17 May 2011, 09:07
by timpattinson
borntoown wrote:(Asking to set a password the first time and Asking to input the password the next times).
Nice. Is the password encrypted
If not, use the XOR (^) operator like this to provide weak encryption

Code: Select all

string MyPassword = "password";
string ExncrptionKey = "asdfdsafghfdwetyjfdwgpojkgbklnmdfkjnvnrfjnkjnkvnernvi";
string EncryptedPassword = MyPassword^EncryptionKey;
//and to decrypt, just reverse that

:D

Re: NXC Questions

Posted: 17 May 2011, 12:18
by borntoown
Thanks, but i'm not in need of such a thing :)