How to compute hash sums of files

How to compute hash sums of files in GNU/Linux(R)

Create files check-map

Create a check-map of the whole content of a directory. For SHA256 algorithm example:

find /DOCS -type f -exec sha256sum '{}' \; > /DOCSCHECK/MYSHA256.TXT
For SHA512 algorithm example:
find /DOCS -type f -exec sha512sum '{}' \; > /DOCSCHECK/MYSHA512.TXT

File system operations in Microsoft(R) Windows(R)

Calculate MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512 hash-sums of a file

Use as in the following command (Command Prompt). This works in Windows 7 and higher.

CertUtil -v -hashfile C:\myfile.exe SHA512

File system operations for Apple(R) macOS(R) users

Calculate SHA1, SHA256, SHA512 hash-sums of a file

For example, compute and display SHA512 sum of "photo.jpg" as following.
shasum -a 512 photo.jpg

Trademark notices

Apple(R), MacBook(R), MacBook Air(R), MacBook Pro(R), iTunes(R), iBooks(R), App Store(R), iCloud(R), iMessage(R), FaceTime(R), Safari(R), FileVault(R), MagSafe(R), Touch Bar(TM), and macOS(R) are registered trademarks of Apple Inc. in the United States and other countries.
Linux(R) is registered trademark of Linus Torvalds in the United States and other countries.


Copyright (c) 2022 Leonid Dorogin