Machine learning is definitely applicable in analyzing simple shift ciphers like Caesar and affine ciphers, as well as substitution ciphers like Vigenère, but is it possible for machine learning to solve problems involving more complex ciphers such as Hill ciphers, where characters are mixed up and ruin frequency analysis?
-
1$\begingroup$ Could you provide applicable examples? $\endgroup$– kelalakaAug 22, 2019 at 21:46
-
2$\begingroup$ what does machine learning do that classical statistics can't on those simple ciphers? if you can link to demonstrations of superiority, you might be taken more seriously. $\endgroup$– kodluAug 22, 2019 at 22:30
-
$\begingroup$ @abcdefghijklmnop151 I want to hear how machine learning can be applied to breaking a double transposition when the second one is disrupted as in the VIC cipher. $\endgroup$– PatriotAug 23, 2019 at 10:10
-
1$\begingroup$ @Patriot I wouldn't be surprised if basic ML could break that. $\endgroup$– forest ♦Sep 4, 2019 at 2:20
1 Answer
A cryptanalyst finds the right key for decryption, while a machine learning model finds a suitable solution in a large space of possible solutions. With enough data, the machine learning model could find a good solution. How much data is needed to reliably use machine learning for breaking complex ciphers such that it's less work than brute-force search could be a challenge.