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


## Description

> Macro (excerpt)
> 
> Returns the SHA256 checksum of the file.

Returns the SHA256 checksum of the file.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | fileSHA256Checksum(file) | **Package** | file |
| **Alias** |  | **Pkg Usage** | checksum(file) |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| file | String | Yes | Specifies the file name to read from. |

## Return Type

**String**

## Example

```javascript
fileSHA256Checksum("C:/story.txt");
```

> ⚠️ 1. You can use absolute paths and relative paths to "sil.home".
> ⚠️ 2. If the file is not found, an error will be raised.

## See also

> Macro (contentbylabel)