nushell/docs/commands/hash_sha256.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

400 B

title layout version
hash sha256 command 0.59.0

hash a value using the sha256 hash algorithm

Signature

> hash sha256 ...rest

Parameters

  • ...rest: optionally sha256 hash data by cell path

Examples

sha256 encode a string

> echo 'abcdefghijklmnopqrstuvwxyz' | hash sha256

sha256 encode a file

> open ./nu_0_24_1_windows.zip | hash sha256