> From: Essell
>
> i need some help with xoring .. never done anything like
> this before .. i need this for an authentication procedure.
> I am given a string, I have to xore each byte in my
> password with the equivalent modulo byte in the string
> and form a result string. Can somebody please tell me how
> this is done ??
>

This is definitely a C question, not a Palm OS programming question.  The
XOR operator in C is "^".  (e.g., 0 ^ 0 == 0; 1 ^ 0 == 1; 1 ^ 1 == 0)

You might want to read a book on C programming.  (For a quick start, take a
look at http://vectorsite.tripod.com/tscpp0.html, written by a novice for
other novices.)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to