wyphan 2>&1 logfile

wyphan: command not found

View on GitHub
June 25, 2021

Universal Checksum Checker for Linux

by wyphan

If you use Linux, you probably don’t realize that most likely you already have all the checksum checker utilities you need already available through GNU Coreutils, including the most popular ones (MD5, SHA-1, SHA256).

This script is simply a way to interface to these utilities without even caring which type it is, or even the order in which the arguments are passed (hash first then filename, or the other way around). Currently it supports MD5, SHA-1, SHA256, SHA384, and SHA512. Hash type detection is performed by hexadecimal content and length, based on this answer on StackOverflow.

Download here: chksum.sh


last edited: Jun 25, 2021 (WYP) home
tag: linux