0

This XOR function is costing my program too much time (specifically the conversions.)
How can this code be made faster?
string xor_str(string astr, string bstr){
unsigned long a = strtoul(astr.c_str(), NULL, 16); // Convert strings to longs
unsigned long b = strtoul(bstr.c_str(), NUL...