# Parse(string)

> Convert a hex-encoded string into Hash128 value.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Hash128 Parse(string hashString)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A hexadecimal-encoded hash string.

### Returns

| Type                                                              | Description       |
| ----------------------------------------------------------------- | ----------------- |
| [Hash128](/engine/6000.5/script-reference/unityengine/hash128.md) | The 128-bit hash. |

### Remarks

This function is the opposite of [Hash128.ToString](/engine/6000.5/script-reference/unityengine/hash128/tostring.md) - given a 32-character string it creates the 128-bit hash value.

Additional Resources: [Hash128.ToString](/engine/6000.5/script-reference/unityengine/hash128/tostring.md).
