---
title: hash package
description: The hash package provides functions that convert string values to hashes.
url: https://docs.influxdata.com/flux/v0/stdlib/contrib/qxip/hash/
estimated_tokens: 190
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/contrib/qxip/hash/
date: '2023-09-12T23:33:31-06:00'
lastmod: '2023-09-12T23:33:31-06:00'
---

* Flux 0.192.0+

InfluxDB support

> [!Important]
> The `hash` package is a user-contributed package
> maintained by the [package author](#package-author-and-maintainer).

The `hash` package provides functions that convert string values to hashes.
Import the `contrib/qxip/hash` package:

```js
import "contrib/qxip/hash"
```

## Functions

* [hash.b64()](/flux/v0/stdlib/contrib/qxip/hash/b64/)
* [hash.cityhash64()](/flux/v0/stdlib/contrib/qxip/hash/cityhash64/)
* [hash.hmac()](/flux/v0/stdlib/contrib/qxip/hash/hmac/)
* [hash.md5()](/flux/v0/stdlib/contrib/qxip/hash/md5/)
* [hash.sha1()](/flux/v0/stdlib/contrib/qxip/hash/sha1/)
* [hash.sha256()](/flux/v0/stdlib/contrib/qxip/hash/sha256/)
* [hash.xxhash64()](/flux/v0/stdlib/contrib/qxip/hash/xxhash64/)
