What is hashing?
Hashing is a technique to convert a value into some other value, hashing is done by passing the key to a hashing function. Hashing function is defined such that for each unique key, it always returns a constant value.
You probably have heard of “Hash” or “Hashing” many times, if you are a crypto investor or enthusiast. But you might wonder what does Hashing means? And where does it use in blockchain?
You haven’t heard about it because Hashing is associated with validating new blocks and the new blocks validated by miners are called Hash. And as an investor, it doesn’t concern you.
You can compare hash functions to the digital signature. For the next block to be validated, it must match that signature exactly the same. That is why they are so secure.
A hash basically converts an input of numbers and letters into a fixed-length encrypted output.
Hashing plays an important role in the mining process and miners are able to validate all transactions through it.
A cryptographic hash function is a type of hash with unique properties like deterministic (same value every time with same input), quick (fast response to input otherwise, it will be inefficient), and pre-image resistance (no 2 different messages with same hash value).