How to generate uuid which will be the same for each seed string?

988 Views Asked by At

I am wondering how to get the same uuid by using the same seed string. Any idea?

1

There are 1 best solutions below

0
Augusto On BEST ANSWER

I'm not familiar with boost-uuid, but I think that what you need is a name-based UUID generator (see RFC-4122 Section 4.3). Read that section of the RFC to ensure it fits your requirements.

Googling a bit, I found that boost does support name-based UUIDs: