you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 19 minutes ago

To get right to the point, an example is encryption.

When you encrypt/decrypt something, the time the algorithm needs depends on the length of the message and the length of the key. Addition, like 2+2, is also like that. To be quite correct, It is not that the problem is easy, but that the algorithm runs in a predictable amount of time (which can be computed with a polynomial formula).

To break state of the art encryption, you can only use brute force, ie trying all possible keys. You could get lucky on the first try, or it might be the last possibility you try. The time required is non-deterministic.

However, we don't have proof that brute force is really the only way to break commonly used encryption. It is imaginable that there are algorithms that can break our encryption in a deterministic amount of time. It is even possible that this amount of time could be short. We'd really like to know one way or the other. You can see how it's important ...

Mind that it's not a given that P=NP means a problem for encryption, or that P!=NP means it is safe.

  • source
  • parent