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

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | fileSHA256Checksum(file) | **Package** | file |
> | **Alias** |  | **Pkg Usage** | checksum(file) |

## Description

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

Returns the SHA256 checksum of the file.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | file | String | Yes | Specifies the file name to read from. |

## Return Type

**String**

## Example

```
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)