XOR'ing two hex values stored as an NSString?
===

here is yet another silly question from me! 

    NSString *hex1 = @"50be4f3de4";
    NSString *hex2 = @"30bf69a299";
    
    /* some stuff like result = hex1^hex2;    */

    NSString *result = @"6001269f7d";
        
I have a hex value as a string, stored in two diff. variables. i need to Xor them and the result should be in another string variables?

i tried them by converting string --> NSData --> bytes array --> xor'ing them ...but i have no success.....
thank you in advance...