Question :
I have seen several posts about the subject but it is not exactly what I was looking for.
Some time ago when I was in internship, they told me to save some records with a unique random id in each one, and they told me the name of that kind of functions or something (unfortunately I do not remember what it was called, hence it is here: d).
I remember that I returned a value with letters and numbers, see the example of how that value was returned, Xe123e-DE3raw-23weEa-312dWe
was something like this.
If someone knows something similar, or name of this type of functions, etc. It’s a big help, thank you
Answer :
I think what you’re looking for is a Universally Unique Identifier (UUID) .
UUID is a 128-bit number that in its canonical form is expressed by 32 hexadecimal digits, divided into five groups separated by hyphen, with the following distribution: 8-4-4-4-12.
Eg: 123e4567-e89b-12d3-a456-426655440000