(str1, str2)
return res
Compute the bit-wise XOR result of two binary numbers in string, e.g., 01011010 = _xor('10101010', '11110010')
        If two string are different in length, XOR starts applying from highest (left-most) bit, and abandons the longer
            one's mantissa
        :param str1: str, whose length must be a multiple of 8
        :param str2: str, whose length must be a multiple of 8
        :return: str, whose length must be a multiple of 8
Compute the bit-wise XOR result of two binary numbers in string, e.g., 01011010 = _xor('10101010', '11110010')
        If two string are different in length, XOR starts applying from highest (left-most) bit, and abandons the longer
            one's mantissa
        :param str1: str, whose length must be a multiple of 8
        :param str2: str, whose length must be a multiple of 8
        :return: str, whose length must be a multiple of 8
Compute the bit - wise XOR result of two binary numbers in string e . g . 01011010 = _xor ( 10101010 11110010 ) If two string are different in length XOR starts applying from highest ( left - most ) bit and abandons the longer one s mantissa : param str1 : str whose length must be a multiple of 8 : param str2 : str whose length must be a multiple of 8 : return : str whose length must be a multiple of 8
def _xor(str1, str2):
        """
        Compute the bit-wise XOR result of two binary numbers in string, e.g., 01011010 = _xor('10101010', '11110010')
        If two string are different in length, XOR starts applying from highest (left-most) bit, and abandons the longer
            one's mantissa
        :param str1: str, whose length must be a multiple of 8
        :param str2: str, whose length must be a multiple of 8
        :return: str, whose length must be a multiple of 8
        """
        res = ''
        for i in range(min(len(str1), len(str2))):
            res += XorCipherKey._xor_bit(str1[i], str2[i])
        return res
def _xor ( str1 , str2 ) : res = '' for i in range ( min ( len ( str1 ) , len ( str2 ) ) ) : res += XorCipherKey . _xor_bit ( str1 [ i ] , str2 [ i ] ) return res