sha256sum
Calculate hash for each input file, reading from stdin if none, writing hexadecimal digits to stdout for each input file (md5=32 hex digits, sha1=40, sha224=56, sha256=64, sha384=96, sha512=128) followed by filename. toybox
On Linux
Linux
???sum [-bcs] [FILE]...
-bBrief (hash only, no filename)-cCheck each line of each FILE is the same hash+filename we'd output-sNo output, exit status 0 if all hashes match, 1 otherwiseSeveral platforms
Calculate SHA256 cryptographic checksums.
Calculate the SHA256 checksum for one or more files
sha256sum path/to/file1 path/to/file2 ...IdentifyCalculate and save the list of SHA256 checksums to a file
sha256sum path/to/file1 path/to/file2 ... >path/to/file.sha256IdentifyCalculate a SHA256 checksum from stdin
command | sha256sumIdentifyRead a file of SHA256 checksums and filenames and verify all files have matching checksums
sha256sum --check path/to/file.sha256IdentifyOnly show a message for missing files or when verification fails
sha256sum --check --quiet path/to/file.sha256IdentifyOnly show a message when verification fails, ignoring missing files
sha256sum --ignore-missing --check --quiet path/to/file.sha256IdentifyCheck a known SHA256 checksum of a file
echo known_sha256_checksum_of_the_file path/to/file | sha256sum --checkIdentify