code: def transmit(self, bytes, protocol=None):
          
          cypheredbytes = self.cypher(bytes)
          data, sw1, sw2 = CardConnectionDecorator.transmit(
              self, cypheredbytes, protocol)
          if [] != data:
              data = self.uncypher(data)
          return data, sw1, sw2
docs: Cypher/uncypher APDUs before transmission