A cryptographic hash function has the additional properties:

  • It is one-way (preimage resistant) Given , it is hard to compute an where .

And is usually either:

  • 2nd-preimage resistant

    2nd-preimage resistant: it is computationally infeasible to find a second input that has the same output as any specified input, i.e. given to find an such that

    Link to original
  • Collision resistant

    Collision resistant: it is difficult to find two distinct inputs where

    Link to original