Single ring value

Asked

Viewed 78 times

4

I’ve seen several posts on the subject but it’s not exactly what I was looking for.

A while ago when I was in internship, I was told to keep some records with a unique id on each one, and they told me the name of that kind of functions or something like ( unfortunately I don’t remember what it was called, so I was here :d ).

I remember returning a value with letters and numbers, see the example of how that value was returned, Xe123e-DE3raw-23weEa-312dWe it was something like this.
If anyone knows anything similar, or name of this type of functions etc. is of great help, thank you

  • 5

    Will be UUID?

  • 1

    Complementing the @ramaral https://duckgo.com/? q=uuid comment

  • Yes, I think so, even if it wasn’t the one I used here some time ago, this solution solves my problem, thank you very much for responding to this post ;) hug

  • 1

    Idea: the best was if @ramaral put in response format. Because the way it is, this question appears in the unanswered, besides it does not earn the credit due by the answer. :)

1 answer

3


I think what you’re looking for is a Universally Unique Identifier (UUID).

UUID is a 128-bit number which 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.

Ex.: 123e4567-e89b-12d3-a456-426655440000

Browser other questions tagged

You are not signed in. Login or sign up in order to post.