You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group = PairingGroup('SS512')
g = group.random(G1)
# x is a random integer with 512bits
sig = int(x)*g
When I run the sig = x*g, it display OverflowError: Python int too large to convert to C long
if x is a small integer such as 111111, It runs successfully. x = group.init(ZR, int(x)) can resolve this error, but 512bits exceed the ZR so x would be changed.
The text was updated successfully, but these errors were encountered:
python 3.7.1
When I run the
sig = x*g
, it displayOverflowError: Python int too large to convert to C long
if x is a small integer such as
111111
, It runs successfully.x = group.init(ZR, int(x))
can resolve this error, but 512bits exceed the ZR so x would be changed.The text was updated successfully, but these errors were encountered: