AI is driving a massive wave of mathematical breakthroughs which could have implications for cryptography.