# \#uuid

**URL:** https://community.auth0.com/tag/uuid/199.md

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

---

## [Should I hash the user identifier for a custom database connection?](https://community.auth0.com/t/should-i-hash-the-user-identifier-for-a-custom-database-connection/6365)

<div class="topic-metadata">

**Author:** [@maziar](https://community.auth0.com/u/maziar)\
**Replies:** 3\
**Last updated:** [May 9, 2017, 5:10pm UTC](https://community.auth0.com/t/should-i-hash-the-user-identifier-for-a-custom-database-connection/6365 "2017-05-09T17:10:12Z")

</div>

I am moving to a CustomDB, which means i won’t be hashing the user.id as default. This is something Auth0 is doing. Are there any security concerns by not hashing the primary key which is exposed in the token? Or should …
