neuroretransmit / liberprimus-tool

Python tool/libraray for evolving solutions toward the Liber Primus from Cicada 3301
1 stars 1 forks source link

Finish implementing arguments/validations #2

Open neuroretransmit opened 7 months ago

neuroretransmit commented 7 months ago

Details

Currently this script operates in a single run mode (for known solves when no arguments are passed), the other is just printing runes after parsing arguments.

For argparse the hierarchal components of the liberprimus should be able to be parsed/validated.

By hierarchal components, I mean a page contains paragraphs, paragraphs contain sentences, etc. There should be validations put in place so a user doesn't reach out of what is available in the leader of the hierarchy. i.e. a paragraph with 7 sentences doesn't try to get an 8th.

There should be another run mode --ga to run the selection through the GA.

Finally a user should be able to manually try classical crypto schemes with --scheme --shift --key, etc. These should also be validated.

Add a known switch as well so running without parameters simply prints usage, usage also needs to be implemented