... I think it would be best to create an AI for this task.
AI is not really an intelligence rather a system that is a little "smarter" than traditional algos..
imagine this..
for a neural network u use a set of data with wich u train your model and leave a bit at the end that is not used for training but testing.
the training of this model however is no magic it is most likely just a bunch of "fancy" numerical aglorithms that most likely still just try the stupidest random things.. but a lot lot lot of them
then after the first run it is determined what stupid random choices actually brought on the desired result and the model "remembers" on what grounds these positive results where based on and achieved.
all that is called an "epoch" and is repeated. in the second epoch almost the same random stupid choices run is repeated but almost all of them now factor in what randomly brought on results in the first epoch.
this goes on for however many epochs you want or maybe until another epoch can't refine or beat the results of the previous run.
at that point the learning is done and cant be improved without changes to the model.
the problem in relation to this EC task here is simply that the first epoch would never yield any result'SSSSSS if even one (most likely not) so there would never be any result from wich to learn from.
and even IF u found something:
1. it would take the same time or more TO FIND as if u just used JC's prog
2. multiple results that would be needed to "learn" something aka training the model again same or more time needed
3. the math used by the EC prevents extracting anything "learnable" by whatever model u use in the AI
at least "3." is the theory and if someone would find a way to produce or force some state in with you could "infer" some information you would have found a way to produce collisions in the prosess like some researchers a few years ago.. they found a flaw in "SHA1"?! if i remember correctly..
and if that happend btc would imedietly collapse and be worthless or some realy nice whitehat hacker would work with the team on changing the algo while keeping everything under wraps..