REMINDER
P versus NP is fundamental to the theoretical foundations of computational cryptography, but resolving it alone does not determine the practical security of deployed systems.
For a concrete hypothetical, consider RSA-2048, which uses a 2048-bit modulus. Suppose someone proves P=NP and produces a factoring algorithm that takes n^100 operations for an n-bit input. Factoring that modulus would take:
2048^100 = 2^1100 operations.
That algorithm is polynomial time, but completely impractical.