Quantum cryptography doesn't rely on the difficulty of mathematical problems, but on the fundamental laws of physics.
Behavior is not just a response to a stimulus, but is guided by expectations and purposes.