def sendall(self, string, flags=0):
        'Encrypt and send all on socket.'
        string = _encode(string, self.__em1, self.__em2)
        return self.__socket.sendall(string, flags)
Encrypt and send all on socket.
recipes/Python/572159_SPICE/recipe-572159.py