What is hashing?

Hashing is a way to transform a given string into a fixed length string. A good hashing algorithm will produce unique output for each input given. Hashing is a one-way process thus, unlike encryption, the input string cannot be obtained again. The only way to crack a hash is by trying every input possible and getting the exact same hash.

A hash be used for hashing data (such as passwords) and in certificates.

Some of the famous hashing algorithms are:

  • MD5
  • SHA-1
  • SHA-2 family which includes SHA-224, SHA-256, SHA-384, SHA-512.
  • SHA-3
  • Whirlpool
  • Blake 2
  • Blake 3