(self)
return pow(self.generator, self.private, self.prime)
Return a public key with g**x%p
Return a public key with g**x%p
Return a public key with g ** x%p
def gen_public(self):
        """Return a public key with g**x%p"""
        return pow(self.generator, self.private, self.prime)
def gen_public ( self ) : return pow ( self . generator , self . private , self . prime )