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
# The prime modulus of the field
field_modulus = 21888242871839275222246405745257275088696311157297823662689037894645226208583
# See, it's prime!
assert pow(2, field_modulus, field_modulus) == 2
https://math.stackexchange.com/questions/2597594/if-2x-bmod-x-2-how-does-that-prove-that-x-a-prime-number-is-prime?noredirect=1#comment5363586_2597594
There is a small probability that it isn't, ~1%.