Machine learning is used to study genus two curves and their applications in post-quantum cryptography.