mirror of
https://github.com/nushell/nushell
synced 2025-01-04 09:18:57 +00:00
29 lines
377 B
Markdown
29 lines
377 B
Markdown
|
---
|
||
|
title: hash md5
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
hash a value using the md5 hash algorithm
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> hash md5 ...rest```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `...rest`: optionally md5 hash data by cell path
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
md5 encode a string
|
||
|
```shell
|
||
|
> echo 'abcdefghijklmnopqrstuvwxyz' | hash md5
|
||
|
```
|
||
|
|
||
|
md5 encode a file
|
||
|
```shell
|
||
|
> open ./nu_0_24_1_windows.zip | hash md5
|
||
|
```
|
||
|
|