---
package: prelude
version: "0.4.0-alpha"
source: digest.kex
title: Digest
entities:
  - { kind: module, name: "Digest" }
---

# Digest

## module `Digest`

Cryptographic content digests. Hex strings are used at the public boundary so Kex programs never need to handle backend-specific binary values.

### `sha256`

```kex
sha256(content: String) -> String
```

### `fileSha256`

```kex
fileSha256(path: String) -> String?
```
