🔥More exclusive content: https://productioncoder.com/you-decide-what-we-build-next
Twitter: https://twitter.com/_jgoebel
Website: https://jangoebel.com
Blog: https://productioncoder.com
A hash function is a function on a bit string that produces an output of fixed length. The goal of hash functions is to avoid collisions as much as possible. Typically the moment a collision is found in a modern hash function, this particular function is deprecated and the industry moves to a more modern hash function.
Similar to how a fingerprint is a compact representation of a human, a hash or digest is a compact representation of a bit string. Common hash functions are SHA-256, SHA-512, murmur and MD5 (MD5 is no longer recommended).