def _cmdGenHost(self,host): snd=Authentication.generateHostkey(host.encode("UTF-8")) self.toClient(Message("hostkey", snd[0].decode("UTF-8")+snd[1]))