---
title: "QuartzUISha256: declaration reference"
description: "Quartz UI 0.57.0-dev: QuartzUISha256: declaration reference. Source-reviewed guidance, usage and limitations."
status: approved
visibility: public
sourceRevision: fe5b709ec900e282b50e58b819a25041945005f9
reviewedAt: 2026-09-24
---

# QuartzUISha256: declaration reference

> **0.57.0-dev · beta source documentation.** Native, Blueprint, Editor and rendering examples are source-reviewed, not executed in Unreal during this scan. See [validation and limits](https://betterbuilt.games/docs/quartz-ui/evidence).

Pinned source (source: `Source/QuartzUIRuntime/Public/QuartzUISha256.h`) · [integration recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuisha256) · [practical guide](https://betterbuilt.games/docs/quartz-ui/tools-shipping)

## FQuartzUISha256

**Internal type.** Portable dependency-free SHA-256 used by generated contracts and cook evidence.

**Prerequisites / integration:** Installed source plugin; Editor tools additionally require a compiled compatible host Editor target. Use the [QuartzUISha256 recipe](https://betterbuilt.games/docs/quartz-ui/inventory#quartzuisha256) in the host module `QuartzUIRuntime`.

**Minimal example / lifecycle:** Use generated identity/audit; HashUtf8 only for advanced tooling. Stateless byte hashing.

**Avoid:** Hashing different canonical bytes or line endings. This named helper is runtime-owned; inspect/use it through the owner above rather than constructing it in gameplay.

Exact source line (source: `Source/QuartzUIRuntime/Public/QuartzUISha256.h#L6`)

## Complete header

Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.

```cpp
#pragma once

#include "CoreMinimal.h"

/** Portable dependency-free SHA-256 used by generated contracts and cook evidence. */
class QUARTZUIRUNTIME_API FQuartzUISha256 final
{
public:
	static FString HashBytes(const uint8* Data, uint32 Size);
	static FString HashBytes(const TArray<uint8>& Data);
	static FString HashUtf8(const FString& Value);
};
```

Canonical HTML: https://betterbuilt.games/docs/quartz-ui/reference-quartzuisha256
