A function is a one-way function, if is ‘easy’ to compute for all , but $f^{-1} is ‘hard’ or ‘infeasible’ to compute.
- ‘easy’: solved in polynomial time as function of input length
- ‘infeasible’: effort to solve grows faster than polynomial time as a function of input size