Understanding how hash functions work

First, what is a hash function?

  • H(1234) = 4.
  • H(12567) = 7.
  • H(127) = 7.
  • H(1111111111) = 1.
  • H(24)=4.
  • H(24)=4.

Assaad MOAWAD

Interested in artificial intelligence, machine learning, neural networks, data science, blockchain, technology, astronomy. Co-founder of Datathings, Luxembourg

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store