Home
Software
Utilities
About
Reader (README)
https://centaur.pw/software/m18/README
[
Direct Link
]
CENTAUR M18 ----------- Version 1.0 2/24/2026 https://www.centaur.pw Jon Siragusa <jon@centaur.pw> TABLE OF CONTENTS ----------------- 1. About 2. Compiling & Installation 3. Command Line Usage 1. ABOUT -------- M18 is a utility for hashing files and strings supporting the following algorithms: BLAKE2S-256, BLAKE2B-512, MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512-224, SHA512-256, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512, SM3, RIPEMD-160, WHIRLPOOL This program relies on the OpenSSL 'libcrypto' library. Full documentation for this program is contained in the manual file, including usage examples. The manual can be read after installation using 'man m18' or before installation using 'man ./m18.1'. 2. COMPILING & INSTALLATION --------------------------- The installation and manual directory can be configured in the Makefile. There is a compile-time option that can be modified at the top of the 'color.h' source file to disable the colored text output by the program. To disable all color, uncomment the line: /* #define NO_COLOR */ To compile the 'm18' binary: $ make To move the 'm18' binary to /usr/local/bin and copy the manual page file 'm18.1.gz' to /usr/share/man/man1: $ make install To remove the object files generated by make: $ make clean To delete the installed binary and manual: $ make uninstall 3. COMMAND LINE USAGE --------------------- Syntax: m18 [option]... [algorithm-option]... [file]... m18 -s [option]... [algorithm-option]... [string] m18 -c [option]... [algorithm-option] [file|string]... [comparison-hash] m18 -f [option]... [algorithm-option] [checksum-file] m18 -i [option]... [algorithm-option]... m18 -h [file] may be any number of files. [string] must be a string enclosed in single-quotes or double-quotes (unless it contains no spaces). Valid options are: -s, --string -u, --uppercase -c, --compare -f, --checksum-file -i, --stdin -n, --no-file-names -h, --help -k, --blake2s-256 -b, --blake2b-512 -4, --md4 -5, --md5 -1, --sha1 -2, --sha224 -a, --sha256 -8, --sha384 -d, --sha512-224 -z, --sha512-256 -t, --sha512 -y, --sha3-224 -A, --sha3-256 -3, --sha3-384 -T, --sha3-512 -m, --sm3 -r, --ripemd-160 -w, --whirlpool -x, --all-algorithms Any number of options can be specified in any order. Multiple hash algorithms can be selected in this way. When specifying multiple algorithms, they will always print in the order shown above.