Neural networks seem good at devising crypto methods; less good at codebreaking.

https://arstechnica.co.uk/information-technology/2016/10/google-ai-neural-network-cryptography/