def get_shared_secret(self):
    if (self.A is None):
        raise RuntimeError("Client's public key is missing")
    tmp1 = (self.A * pow(self.verifier, self._calculate_u(), self.n))
    return pow(tmp1, self.b, self.n)
def get_shared_secret(self):
    if (self.A is None):
        raise RuntimeError("Client's public key is missing")
    tmp1 = (self.A * pow(self.verifier, self._calculate_u(), self.n))
    return pow(tmp1, self.b, self.n)