Quantcast
Channel: UUID namespace and name. How to retrieve it? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Aaron Digulla for UUID namespace and name. How to retrieve it?

$
0
0

Is it possible to associate to a UUID information about the namespace it belongs,

Yes, see this document.

so to recover it later

Maybe. The problem is that two different namespaces may map to the same hash value. To avoid this, you should manually number your names (instead of hashing them). Then put the number into the octets 0-3. That gives you a deterministic mapping between UUIDs and names.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>