---
title: "hashString"
canonical: "https://support.appfire.com/space/PSJC/434897208/hashString"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns a consistent hash to be used across systems.

Returns a consistent hash to be used across systems. The hash is not guaranteed to be unique (i.e. two strings s1 != s2 may have the same hash).

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | hashString(str) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| str | String | Yes | String to be hashed. |

## Return Type

**String**

## See also

> Macro (contentbylabel)