# hash_md5

Computes an MD5 hash digest.

```tql
hash_md5(x:any, [seed=string])
```

## Description

The `hash` function calculates a hash digest of a given value `x`.

### `x: any`

The value to hash.

### `seed = string (optional)`

The seed for the hash.

## Examples

### Compute an MD5 digest of a string

```tql
from { x: hash_md5("foo") }
```

```tql
{ x: "acbd18db4cc2f85cedef654fccc4a4d8" }
```

## See Also

* [`hash_sha1`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha1.md)
* [`hash_sha224`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha224.md)
* [`hash_sha256`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha256.md)
* [`hash_sha512`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha512.md)
* [`hash_sha384`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha384.md)
* [`hash_sha3_224`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha3_224.md)
* [`hash_sha3_256`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha3_256.md)
* [`hash_sha3_384`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha3_384.md)
* [`hash_sha3_512`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_sha3_512.md)
* [`hash_xxh3`](https://preview.docs.tenzir.com/375/375/reference/functions/hash_xxh3.md)
* [Manipulate strings](https://preview.docs.tenzir.com/375/375/guides/transformation/manipulate-strings.md)