3 ms·
When would you want to perform bitwise operations on a UUID?
by plugin-baby 4y ago
When would you want to perform bitwise operations on a UUID?
- edflsafoiewq 4y agoA UUID is a bunch of bit fields packed together: the version/variant, and depending on the version, fields for the datetime, MAC address, node ID, etc. You'd use bit ops to both construct and extract the fields.
- whateveracct 4y agoSay you need 5 UUIDs derived from one (say a primary key and some set of idempotency keys). You can mask them.