> For the complete documentation index, see [llms.txt](https://pellix-1.gitbook.io/pellix-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pellix-1.gitbook.io/pellix-docs/functions/make_hash.md). Agents can also search and read this documentation through its [MCP server](https://pellix-1.gitbook.io/pellix-docs/~gitbook/mcp).

# make\_hash

Makes hash from value for internal usage.

Underlying implementation uses crc64 but this may change.

```lua
make_hash(text: string): number
make_hash(buffer: string.buffer): number
```

**Example:**

```lua
local weapon_c4_hash = make_hash("weapon_c4") 
```
