---
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: 350
product: Flux
version: v0
---

# hash package

-   Flux 0.192.0+
-   View InfluxDB support

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/)
