> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phala.com/llms.txt
> Use this file to discover all available pages before exploring further.

# keccak256sum

> Compute or verify keccak256 checksums of hex inputs

### Command: `phala keccak256sum`

#### Syntax

```
phala keccak256sum [options] <hex-values>...
```

#### Description

Compute or verify keccak256 checksums of hex inputs

#### Arguments

| Argument          | Description                                              |
| ----------------- | -------------------------------------------------------- |
| `<hex-values...>` | Hex strings to hash, or checksum file path when using -c |

#### Options

| Option        | Description                                                    |
| ------------- | -------------------------------------------------------------- |
| `-c, --check` | Read checksums from file and verify them                       |
| `--quiet`     | In check mode, suppress OK messages                            |
| `--status`    | In check mode, suppress all output; exit code indicates result |

#### Global Options

| Option                               | Description                                                  |
| ------------------------------------ | ------------------------------------------------------------ |
| `-h, --help`                         | Show help information for the current command                |
| `-v, --version`                      | Show CLI version                                             |
| `--api-token TOKEN, --api-key TOKEN` | API token for authenticating with Phala Cloud                |
| `-j, --json, --no-json`              | Output in JSON format                                        |
| `--interactive`                      | Enable interactive mode for commands that support it         |
| `--cvm-id <value>`                   | CVM identifier (UUID, app\_id, instance\_id, or name)        |
| `--profile PROFILE`                  | Temporarily use a different auth profile for this command    |
| `--api-version <value>`              | API version to use (e.g. 2026-01-21, 2026-05-22, 2026-06-23) |
| `--timeout SECONDS`                  | Request timeout in seconds (default 60)                      |

#### Examples

* Hash concatenated hex values

```bash theme={"system"}
phala keccak256sum deadbeef 0123456789abcdef 0x02 cafe
```

* Hash hex from stdin

```bash theme={"system"}
echo 'deadbeef' | phala keccak256sum
```

* Verify checksums from file

```bash theme={"system"}
phala keccak256sum -c checksums.txt
```
