Re: NXC Questions
Posted: 17 May 2011, 09:07
Nice. Is the password encryptedborntoown wrote:(Asking to set a password the first time and Asking to input the password the next times).
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