Text this: Quantum algorithms for attacking hardness assumptions in classical and post‐quantum cryptography