# Understanding birthday attacks on 256 bit hashing and 512 bit hashing [duplicate]

Does it make a difference against birthday attacks if the algorithm that I am using is 512 bit hashing?

• Hey @fgrieu thank you for the edit. Can you please try to answer my question? – Marko Peterson Aug 8 '20 at 10:47
• Hint: my Birthday problem for cryptographic hashing, 101 discusses the probability $p_n$ of a collision after hashing $n$ values among $k=2^b$ with an ideal $b$-bit is hash. This answer concludes that $n\approx2^{92}$ is achievable, with a lots of money. Do the math and decide if $b=256$ or $b=512$ "makes a difference" for you. – fgrieu Aug 8 '20 at 11:08
• Thank you, next time I will look up for similar questions before posting. I am new to the community my bad. – Marko Peterson Aug 8 '20 at 11:08
• Probably, the first link answes my question, thanks guys. – Marko Peterson Aug 8 '20 at 11:08