0

Normally, one of the purposes of hashing a string (such as a transaction) is summarizing the data to save the size because of the space limitation.

If this proposition is true, now assume we need to read the original data and so we need to extract the exact original data (with all details).

Now the question is if the extracted data from the hash data is exotically equal to the original data?

And if yes, is there any tool to do this? (for example, for retrivieng the original data from SHA256 hashing algorithm).

And if we cannot retrieve the original data from a hashed value, how hashed data can help us for validating an original data?

3

Normally, one of the purposes of hashing a string (such as a transaction) is summarizing the data to save the size because of the space limitation.

No, that would be a compression function. Hash functions are not compression functions, there is no reversing a hash. The point of a hash is to get a unique representation of the data that is the same size for any farbitrary length data.

If this proposition is true, now assume we need to read the original data and so we need to extract the exact original data (with all details).

No, that is false. You cannot get the original data back.

And if we cannot retrieve the original data from a hashed value, how hashed data can help us for validating an original data?

If you have the original data and a hash of it (calculated at a different time or by someone else), you can hash the original data and check that the hash matches the hash you were given.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.