o CÒú_Îã@s<dZddlmZdedefdd„Zdededefd d „Zd S) zPython compatibility wrappers.é©ÚpackÚnumÚreturncCs td|ƒS)zÝ Converts a number between 0 and 255 (both inclusive) to a base-256 (byte) representation. :param num: An unsigned integer between 0 and 255 (both inclusive). :returns: A single byte. ÚBr)r©rú-/usr/lib/python3/dist-packages/rsa/_compat.pyÚbytes r Úb1Úb2cCstdd„t||ƒDƒƒS)a  Returns the bitwise XOR result between two bytes objects, b1 ^ b2. Bitwise XOR operation is commutative, so order of parameters doesn't generate different results. If parameters have different length, extra length of the largest one is ignored. :param b1: First bytes object. :param b2: Second bytes object. :returns: Bytes object, result of XOR operation. css|] \}}||AVqdS)Nr)Ú.0ÚxÚyrrrÚ 0s€zxor_bytes..)ÚbytesÚzip)r r rrrÚ xor_bytes!srN)Ú__doc__ÚstructrÚintrr rrrrrÚs