Pindex is essentially an identifier for the points being processed and helps keep track of the progress of the search and identify points that could potentially solve the cryptographic puzzle. It's used to match points from different sets and determine if they share the same x-coordinate. Since these values are generated randomly, they may not always fall within the specified range, especially if the random number generation is not constrained.
The script employs a kangaroo twins hopping strategy to search for solutions. The hopping strategy involves adding a certain value to the x-coordinate of a point and then computing the next point in the sequence. Depending on the hopping value, it is possible for the point to move outside the defined range.
I am getting error like this:
C:\Users\abc\Desktop>py 4.py
'clear' is not recognized as an internal or external command,
operable program or batch file.
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Using 8 CPU cores for parallel search]:
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
'clear' is not recognized as an internal or external command,
operable program or batch file.
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Puzzle]: 130
- [Puzzle]: 130
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Puzzle]: 130
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Lower range limit]: 680564733841876926926749214863536422912
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Kangaroo]: Mon Oct 16 15:48:30 2023
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
- [Puzzle]: 130
- [Lower range limit]: 680564733841876926926749214863536422912
- [Upper range limit]: 1361129467683753853853498429727072845823
- [Xcoordinate]: 633cbe3ec02b9401c5effa144c5b4d22f87940259634858fc7e59b1c09937852
- [Ycoordinate]: b078a17cc1558a9a4fa0b406f194c9a2b71d9a61424b533ceefe27408b3191e3
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\abc\Desktop\4.py", line 219, in search_worker
with open("/dev/urandom", "rb") as urandom_file:
^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/dev/urandom'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\abc\Desktop\4.py", line 277, in <module>
results = pool.starmap(
^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\multiprocessing\pool.py", line 375, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\multiprocessing\pool.py", line 774, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '/dev/urandom'
C:\Users\abc\Desktop>
help me bro
Go again there and copy/paste script - it is updated several times.