2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: hash md5
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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
|
|
|
|
```
|