sha384sum
sha384sum is a command line tool used to compute and verify the SHA-384 cryptographic hash of files. It is commonly found in UNIX-like operating systems, including Linux.
The SHA-384 algorithm is a part of the SHA-2 (Secure Hash Algorithm 2) family, known for producing a 384-bit hash value. This hash function is considered to be highly secure and resistant to various cryptographic attacks.
When used, sha384sum takes a file or input data as an argument and calculates its SHA-384 hash. It then outputs the hash value along with the name of the file or '-' if the hash is calculated from standard input.
The tool can be particularly useful for verifying file integrity or ensuring that transferred files have not been tampered with. By comparing the computed hash to a previously obtained hash value, users can determine if the file has been modified.
One popular application of sha384sum is in the process of securely downloading and verifying Linux distributions. Users often compare the SHA-384 hash provided by the distribution's maintainers with the calculated hash of the downloaded ISO file to detect any potential tampering.
By default, sha384sum uses hexadecimal output format, but it can also display the hash in binary or base64 formats. Additionally, it supports options like -c to verify hash values stored in a separate file, -t to include the file's timestamp in the output, and --tag to include the hash algorithm name in the output.
Overall, sha384sum provides a straightforward and reliable method to compute and verify the SHA-384 hash of files, making it a valuable tool in ensuring data integrity and security.
List of commands for sha384sum:
-
sha384sum:tldr:3d224 sha384sum: Calculate the SHA384 checksum for one or more files.$ sha384sum ${filename1 filename2 ---}try on your machineexplain this command
-
sha384sum:tldr:80d37 sha384sum: Calculate and save the list of SHA384 checksums to a file.$ sha384sum ${filename1 filename2 ---} > ${filename-sha384}try on your machineexplain this command
-
sha384sum:tldr:c60c2 sha384sum: Only show a message for missing files or when verification fails.$ sha384sum --check --quiet ${filename-sha384}try on your machineexplain this command
-
sha384sum:tldr:e8304 sha384sum: Only show a message when verification fails, ignoring missing files.$ sha384sum --ignore-missing --check --quiet ${filename-sha384}try on your machineexplain this command
-
sha384sum:tldr:eb195 sha384sum: Read a file of SHA384 sums and filenames and verify all files have matching checksums.$ sha384sum --check ${filename-sha384}try on your machineexplain this command