9 ms·
all of cryptocurrency relies on sha256 the fact that the space is huge, and just ignores collisions. seems to work fine.
by rwiggum 3y ago
all of cryptocurrency relies on sha256 the fact that the space is huge, and just ignores collisions. seems to work fine.
- Nullabillity 3y agoSHA-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.
- kiitos 3y agoThere 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.