Python Define Byte Array Encryption