---
title: hash
categories: |
hash
version: 0.104.0
hash: |
Apply hash function.
usage: |
Apply hash function.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `hash` for [hash](/commands/categories/hash.md)
<div class='command-title'>Apply hash function.</div>
## Signature
```> hash {flags} ```
## Input/output types:
| input | output |
| ------- | ------ |
| nothing | string |
## Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
## Subcommands:
| name | description | type |
| ---------------------------------------------- | --------------------------------------------- | -------- |
| [`hash md5`](/commands/docs/hash_md5.md) | Hash a value using the md5 hash algorithm. | built-in |
| [`hash sha256`](/commands/docs/hash_sha256.md) | Hash a value using the sha256 hash algorithm. | built-in |