3 ms·
A dataset can persist across multiple file systems. A UUID is a way to know that one dataset is equivalent (identical) to another. Now you can cache, store-and-
by JoeAltmaier 7mo ago
A dataset can persist across multiple file systems. A UUID is a way to know that one dataset is equivalent (identical) to another.
Now you can cache, store-and-forward, archive and retrieve and know what you have.
- packetlost 7mo agoUUIDs aren't very good for this use case, a sufficiently large CRC or cryptographic hash is better because it's intrinsically tied to the data's value while UUIDs are not
- JoeAltmaier 7mo agoUUIDs are necessary. It's possible for file contents to be identical (e.g. short configuration files may coincidentally coincide over time and space). Would the hash then be unique? Consider: you want a certain data object, with a given UUID. You can find it anywhere, even from a malicious server. Then look up the hash in a trusted database, verify it. Impossible then for the MITM to fool you. No more virus scanning executables.