LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sha384sum

Compute and verify SHA-384 checksums

TLDR

Calculate the SHA-384 hash of a file
$ sha384sum [file]
copy
Calculate SHA-384 hashes for multiple files
$ sha384sum [file1] [file2]
copy
Verify checksums stored in a file
$ sha384sum -c [checksums.txt]
copy
Verify checksums, only showing failures
$ sha384sum -c --quiet [checksums.txt]
copy
Read from stdin
$ echo "[text]" | sha384sum
copy
Generate a checksum and save to a file
$ sha384sum [file] > [checksums.sha384]
copy

SYNOPSIS

sha384sum [options] [file...]

DESCRIPTION

sha384sum computes and verifies SHA-384 cryptographic hash values, producing a 384-bit (96-character hexadecimal) message digest. It is part of the SHA-2 family and is derived from SHA-512 with truncated output, offering a security level between SHA-256 and SHA-512.SHA-384 is commonly used in TLS/SSL certificates and digital signatures where stronger security than SHA-256 is desired without the full 128-character output of SHA-512. With no FILE argument or when FILE is -, input is read from standard input. In check mode (-c), previously generated checksums are verified against current file contents.

PARAMETERS

-c, --check

Verify checksums from file.
-b, --binary
Read in binary mode.
-t, --text
Read in text mode.
--quiet
Don't print OK for verified files.
--status
Don't output anything; use exit status for result (0 = success, 1 = failure).
--strict
Exit non-zero for improperly formatted checksum lines.
-w, --warn
Warn about improperly formatted checksum lines.
--tag
Output BSD-style checksums.

SEE ALSO

sha256sum(1), sha512sum(1), sha224sum(1), sha1sum(1), md5sum(1), b2sum(1)

Copied to clipboard
Kai