Home
Software
Utilities
About
Reader (README)
https://centaur.pw/software/md5/README
[
Direct Link
]
CENTAUR MD5 ----------- Version 3.0 4/7/2024 https://www.centaur.pw <jon@centaur.pw> ABOUT ----- A simplified version of the MD5 checksum utility which can also generate hashes for string input. This program relies on the OpenSSL 'libcrypto' library and 'md5.h' header. COMPILING & INSTALLATION ------------------------ The installation and manual directory can be configured in the Makefile. Color may be disabled by following the instructions in 'color.h'. To build the 'md5' binary: $ make To move the 'md5' binary to /usr/local/bin and copy the manual page file 'md5.7.gz' to /usr/share/man/man7: $ make install To remove the object files generated by make: $ make clean To delete the installed binary and manual: $ make uninstall COMMAND LINE PARAMETERS ----------------------- Syntax: md5 <file ...> md5 [-u] <file ...> md5 [-L] <file> md5 [-f] <checksum-file> md5 [-s] '<string>' md5 [-S] '<string>' Centaur MD5 outputs the MD5 hash of the specified files or string. The MD5 hash is displayed next to each file name, conforming to the common format for checksum files. The program cannot accept multiple options during execution. When the '-u' option is used, the MD5 hash for each file will be displayed with upper-case letters instead of lower-case. When the '-L' option is used, the program displays only the MD5 hash of <file> and exits, without listing the file path and name. Only one file at a time can be checked in legacy mode. Centaur MD5 can process checksum files using the '-f' option. <checksum-file> must be a correctly formatted MD5 hash and file pair list. If the first line of the file is not in the correct format, the program will consider it an improper checksum file and exit. Comments cannot appear in the file. Most strings should be enclosed in '' or "". The '-S' option will display the letters of the MD5 hash of a string in upper-case; otherwise the '-s' for checking strings displays the MD5 hash using lower-case letters. The program will display the MD5 hash and exit. Examples -------- $ md5 ~/.profile -> 77a147612ff9228906327cb02bd1ca24 ~/.profile $ md5 -L ~/.profile -> 77a147612ff9228906327cb02bd1ca24 $ md5 -s 'secret words' -> 8f6f4f9567df74df3b717d825c16a4d1 $ md5 -S 'secret words' -> 8F6F4F9567DF74DF3B717D825C16A4D1