title: Probability of hash collision
body: <p>I am looking for some precise math on the likelihood of collisions for MD5, SHA1, and SHA256 based on the birthday paradox.</p>
  <p>I am looking for something like a graph that says &quot;If you have 10^8 keys, this is the probability. If you have 10^13 keys, this is the probability and so on&quot;</p>
  <p>I have looked at tons of articles but I am having a tough time finding something that gives me this data. (Ideal option for me would be a formula or code that calculates this for any provided hash size)</p>