Home Explore Blog CI



nushell

1st chunk of `commands/docs/hash.md`
4e2fb757d493bcac600192d900c9810d83f6150f19de7aa8000000010000043a
---
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 |

Title: hash command documentation
Summary
This documentation describes the `hash` command in Nushell, which applies a hash function to input. It requires a subcommand specifying the hashing algorithm to use, such as `md5` or `sha256`. Using the `hash` command without a subcommand will display this help message.