I've been doing some digging about the library of babel online and wanted to replicate its core functionality but I have no idea where to begin other than the random module on python. I understand that you can input a seed to it and it generates the same series over and over again. I wonder if there's a way to reverse this process wherein one would enter an array and get the seed out. I've been looking and there doesn't seem to be any leads. Is it even possible?
1 Answer
It is not possible to get the seed that was used when generating a list of numbers using the random module in Python.
I would suggest storing the seed that was initially used when generating the pseudo-random list, so you can infer it later on where needed.
2 Comments
TheWoodenPen
I see. Do you have any idea on how the library of babel does its searches then?
Giorgos Myrianthous
@TheWoodenPen No idea, sorry.