pypbc实现G_T元素求逆

331 阅读1分钟
  1. from Crypto.Util import number
  2. i_inverse = number.inverse(int(i.__str__(), 16), order_p)