I have two different length c++ strings.
string str1 = "01001110 01100001 01101101 01100101"
string str2 = "00000000 00000000 00000011"
I need to xor str1 and str2 and store the result in a new string
string xor_string =  str1 ^ str2
So, is it possible to xor two different length strings, and to store it into another string ? 
I have searched for it but I didn't get it.
Can anyone tell me, how to do it?
 
     
    