A one way function takes some input and creates a result. It is impossible to guess the correct input, when only the result is known.
Cryptographic one-way-functions have further requirements:
- it must be infeasible to guess any input based on the result (preimage resistance)
- it must be infeasible to generate two inputs that result in the same output (collision resistance)
- Cryptographic hash function in Wikipedia