return Pm if __name__ == "__main__": P256 = Curve( 'P256', 115792089210356248762697446949407573530086143415290314195533631308867097853951, -3, 41058363725152142129326129780047268409114441015993725554835256314039467401291, 115792089210356248762697446949407573529996955224135760342422259061068512044369, 48439561293906451759052585252797914202762949526041747995844080717082404635286, 36134250956749795798585127919587881956611106672985015071877198253568414405109, ) Base = P256.G() privateKey = random.randint(1, P256.P - 1) P_public = pointMultiply(Base, privateKey) # for _ in range(10): # start = time.time() # privateKey = random.randint(1, P256.P - 1) # P_public = pointMultiply(Base, privateKey) # message = random.randint(10e50, 10e60) # Pm = Point(message, P256.evaluate(message), P256) # cipher = encrypt(Pm, P_public, Base) # end = time.time()