> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/general/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/general/general-articles/how-to-verify-the-sha256-checksum-of-a-downloaded-file.md).

# How to verify the SHA256 checksum of a downloaded file

When performing firmware upgrades, it is important to verify the SHA256 checksum of the file to ensure its integrity. A corrupted file render a device inoperable in most cases. The process differs among common operating systems, however the result is the same. The output from the command in the terminal will be a string of characters.

Follow the steps below to verify that the SHA256 checksum of the downloaded file matches that of the SHA256 checksum listed at the Hak5 official download site – [downloads.hak5.org](https://downloads.hak5.org/). If the strings do not match, discard the file and attempt the download again.

![](/files/6KbQsH0fJGsmUUcEEoTO)

### LINUX

```
sha256sum /path/to/file
```

&#x20;

### MAC

```
shasum -a 256 /path/to/file
```

&#x20;

### WINDOWS

**CMD**

```
 CertUtil -hashfile C:\path\to\file SHA256
```

**Powershell**

```
Get-FileHash C:\path\to\file -Algorithm SHA256
```

&#x20;

### OPEN SOURCE GRAPHICAL USER INTERFACE (GUI)

QuickHash GUI is an open-source data hashing tool for Linux, Windows, and Apple Mac OSX with graphical user interface (GUI). Originally designed for Linux, but is also available for Windows and Apple Mac OSX. MD5, SHA1, SHA256, SHA512, xxHash, SHA-3 (256 bit) and Blake2B (256 bit) hash algorithms are available.

&#x20;<https://quickhash-gui.org/>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.hak5.org/general/general-articles/how-to-verify-the-sha256-checksum-of-a-downloaded-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
