# What is a user hash (identity verification)?

> A signature your server creates from a user's email or id and a secret key, proving to a chat widget who the visitor is.

URL: https://office.greatwork.company/glossary/user-hash
Last updated: 2026-11-21

A signature your server creates from a user's email or id and a secret key, proving to a chat widget who the visitor is.

When a signed-in customer opens the chat, your server computes an HMAC (often HMAC-SHA256) of their email or user id with a secret only you and the chat vendor know, and passes it along. The vendor recomputes it; if it matches, the visitor is verified.

Without it, anyone could type someone else's email into a chat widget. With it, account actions can safely run for the right person.

## Where you'll use it

- [Identity verification](https://office.greatwork.company/assist/features/identity-verification): Your site tells the assistant who the customer is with a signed hash, so account actions only ever run for the right person. Sites without a developer can verify by email code.

## Related terms

- [Prompt injection](https://office.greatwork.company/glossary/prompt-injection): Text written to trick an AI model into ignoring its instructions, typed by a user or hidden in content it reads.

---

Office by Great Work. Questions or corrections: hello@greatwork.company
