hash sha256
for hash> hash sha256 {flags} ...rest
--binary, -b
: Output binary instead of hexadecimal representation...rest
: optionally sha256 hash data by cell pathinput | output |
---|---|
record | record |
string | string |
table | table |
Return the sha256 hash of a string, hex-encoded
>'abcdefghijklmnopqrstuvwxyz'|hash sha256
71c480df93d6ae2f1efad1447c66c9525e316218cf51fc8d9ed832f2daf18b73
Return the sha256 hash of a string, as binary
>'abcdefghijklmnopqrstuvwxyz'|hash sha256--binary
Length:32 (0x20) bytes|printablewhitespaceascii_othernon_ascii
00000000:71c480df93d6ae2f1efad1447c66c952q××××××/•××D|f×R
00000010:5e316218cf51fc8d9ed832f2daf18b73^1b•×Q××××2××××s
Return the sha256 hash of a file's contents
>open./nu_0_24_1_windows.zip|hash sha256
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/hash_sha256.html