# \#guid

**URL:** https://forum.elixirforum.com/tag/guid/978.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Identifying users/content by 64 bit Int (like Twitter) vs. 128 bit UUID (string) vs. 64 bit random string? Isn't 64 bit Int or random string far more efficient?](https://forum.elixirforum.com/t/identifying-users-content-by-64-bit-int-like-twitter-vs-128-bit-uuid-string-vs-64-bit-random-string-isnt-64-bit-int-or-random-string-far-more-efficient/60505)

<div class="topic-metadata">

**Author:** [@mikejm](https://forum.elixirforum.com/u/mikejm)\
**Replies:** 24\
**Last updated:** [December 28, 2023, 6:47pm UTC](https://forum.elixirforum.com/t/identifying-users-content-by-64-bit-int-like-twitter-vs-128-bit-uuid-string-vs-64-bit-random-string-isnt-64-bit-int-or-random-string-far-more-efficient/60505 "2023-12-28T18:47:50Z")

</div>

I am looking at the best way to identify my users and content on a social type app (user profiles, media, chat messages, etc). UUID vs. 64 bit Int I don’t like sequentially numbered systems. As I understand, GUID/UUID …

---

## [Is there a native way to create a guid/uuid in Elixir?](https://forum.elixirforum.com/t/is-there-a-native-way-to-create-a-guid-uuid-in-elixir/39738)

<div class="topic-metadata">

**Author:** [@jeramyRR](https://forum.elixirforum.com/u/jeramyRR)\
**Replies:** 10\
**Last updated:** [May 17, 2021, 2:17pm UTC](https://forum.elixirforum.com/t/is-there-a-native-way-to-create-a-guid-uuid-in-elixir/39738 "2021-05-17T14:17:43Z")

</div>

I’ve been searching for how to create a GUID / UUID in Elixir without needing to bring in a dependency, but I can’t seem to find any docs on it other than using the uuid library. It seems to me that using GUIDs are a fa…

---

## [Using Active Directory GUID with Ecto UUID field](https://forum.elixirforum.com/t/using-active-directory-guid-with-ecto-uuid-field/15904)

<div class="topic-metadata">

**Author:** [@benperiton](https://forum.elixirforum.com/u/benperiton)\
**Replies:** 12\
**Last updated:** [August 21, 2018, 4:19pm UTC](https://forum.elixirforum.com/t/using-active-directory-guid-with-ecto-uuid-field/15904 "2018-08-21T16:19:38Z")

</div>

I’m attempting to integrate some AD stuff with my app, but I’m stuck on how to use the GUID that is returned with Ecto. From exldap, I get this back: 'objectGUID' =\> \[ \[219, 12, 193, 79, 151, 81, 153, 75, 128, 88, …
