NXC Questions

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: NXC Questions

Post 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
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
borntoown
Posts: 58
Joined: 14 Nov 2010, 16:58

Re: NXC Questions

Post by borntoown »

Thanks, but i'm not in need of such a thing :)
B2O productions are the best for the best.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 24 guests