top | item 37476256

(no title)

rwiggum | 2 years ago

all of cryptocurrency relies on sha256 the fact that the space is huge, and just ignores collisions. seems to work fine.

discuss

order

kiitos|2 years ago

There have been so many incidents in crypto that exploited broken assumptions about hash collisions.

Factually, X != hash(X). Sometimes you can make the simplifying assumption that X == hash(X), but only in well-defined contexts, subject to proper risk analysis; never in general, or as a presumption of a system that needs to be correct.

Nullabillity|2 years ago

SHA-256 has, well, 256 bits of entropy. What I took issue with was the claim that UUID's 128 bits (well, almost, anyway) are overkill with modern advances in randomness.