Source: wikibot/one-way-function
= One-way function
{wiki=One-way_function}
A **one-way function** is a type of mathematical function that is easy to compute in one direction but hard to reverse. In other words, given an input (or a set of inputs), it is relatively straightforward to calculate the output, but given the output, it is computationally infeasible to determine the original input.