CameronLonsdale / lantern

Cryptanalysis library for breaking classical ciphers
MIT License
26 stars 4 forks source link

Support adaptive scoring functions #1

Open CameronLonsdale opened 7 years ago

CameronLonsdale commented 7 years ago

Currently scoring functions get run in sequence, however for certain functions, this process will take too long.

I would like to support an option to only run a subsequent function if there is not a clear correct decryption. Ways to do this could be to look at the scoring distribution for the decryptions and running more scoring rounds if the values are too close together.

CameronLonsdale commented 7 years ago

This will be an architectural change, and I havent decided on the early exit strategy yet, so this feature will need more planning