@classmethod
def parity(cls, value):
    """Calculate odd parity on 8 bits.
		"""
    return (value & 1 ^ value >> 1 & 1 ^ value >> 2 & 1 ^ value >> 3 & 1 ^ 
        value >> 4 & 1 ^ value >> 5 & 1 ^ value >> 6 & 1 ^ value >> 7 & 1 ^ 1)
