polynomial time algorithm.
A problem that:
A function f is a one-way if and only if it can be computed by a polynomial time algorithm.
NP Complete problems can only possibly be solved in polynomial time