Preimage resistance

This property can be explained by using the simple equation shown as follows:

h(x) = y

Here, h is the hash function, x is the input, and y is the hash. The first security property requires that y cannot be reverse-computed to x. x is considered a preimage of y, hence the name preimage resistance. This is also called a one-way property.

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.