top | item 44465597

(no title)

mightysashiman | 8 months ago

Wouldn't it being making the matter worse? You wouldn't know if it's a collision of the hash or of the keys themselves

discuss

order

nativeit|8 months ago

Assuming for the sake of argument this were a real service checking for matches, the chances of a hash collision with SHA256 is effectively 0.[1] I entered the limit for BIGINT (9223372036854775807), and the approximation of the probability of a hash collision after generating 9223372036854775807 items in SHA256 is zero. The exact probability would probably take eons to calculate, but it's vanishingly close to zero.

1. https://kevingal.com/apps/collision.html