The problem "P vs NP"

  Many connections between systems use access through Public Key. To access your personal space on any website, you do so through your username and password, which is stored encrypted. To access your bank account, you use a code that is also stored encrypted. Banks protect all information by encrypting it. Cryptocurrencies base their entire operation on cryptographic keys. Intelligence services from all countries use cryptography to keep their communications secure… But... did you know that if someone solves a mathematical problem, they will have access to all of the above? This is the problem known as "P vs NP". To understand the problem, we need to know what complexity theory is. It studies how the cost in time/memory grows depending on the size of this problem. For example, we want to sort several numbers from largest to smallest, and for this, we have different algorithms. The first algorithm gives us the following result:  
Number of numbers to sort 10 100 1000 10000
Time (s) 1 2 3 4
  In the previous case, we have a linear complexity, as the growth is constant. But worse cases can occur:  
Number of numbers to sort 10 100 1000 10000 10000
Time (s) 1 2 4 8 16
  This example represents an exponential complexity (and there are even worse!). So, we say that a problem has the complexity of the best algorithm that solves it. This is what complexity theory is for. Thanks to it, we identify that there are problems whose complexity grows so rapidly that it is not worth allocating resources to their resolution. And this is the basis of modern cryptography. Specifically, it is based on the complexity involved in factorizing numbers with many decimal digits. Currently, the most efficient algorithm that factorized a number of 200 decimal digits in the shortest time did so in 18 months! (Does it ring a bell that some banks ask you to update your password every 12 months?).  

Returning to P vs NP

  But now let's return to the title of the problem. In complexity theory, it is called:
  • NP the set of problems for which it can be verified in polynomial time, that is, in a reasonable time, whether a solution is correct or not.
  • P the set of problems for which a solution can be found in polynomial time, that is, in a reasonable time.
  With this description, we see that the problem of factorizing a number with a large number of decimals is an NP problem. Knowing this, we see that if a problem is part of the P group, it is also in NP, but the question is… does it also go the other way? Intuitively, it seems obvious that it does not, but here comes the surprise: this is not mathematically proven and cannot be categorically affirmed or denied. P vs NP is one of the problems called "Millennium Problems," awarded by the Clay Mathematics Institute with one million euros to the person who can confirm (or deny) that P = NP. If confirmed, it would require reconsidering all modern cryptography. As of today, we cannot know if NP problems are insurmountable or if we simply have not found the algorithm that solves them in a reasonable time. Therefore, since there is no scientific evidence that NP problems cannot be solved in a reasonable time, continuing to use current cryptography methods assuming they are secure is a matter of faith.
Compartir:
933 658 191

Leave us your details and we will get back to you as soon as possible.

🇬🇧 View in English?