RHash
RHash copied to clipboard
Missing whirlpool in help
Hello,
Thanks for this tool. I just find out that the whirlpool hash is missing in help :
Windows Version 1.4.6
RHash v1.4.6
Utilisation : rhash [OPTION...] [FICHIER | -]...
rhash --printf=<format de la chaine> [FICHIER | -]...
Options :
-V, --version Print program version and exit.
-h, --help Afficher l'aide-mémoire.
-C, --crc32 Calculate CRC32 checksum.
--crc32c Calculate CRC32C checksum.
--md4 Calculate MD4 message digest.
-M, --md5 Calculate MD5 message digest.
-H, --sha1 Calculate SHA1 message digest.
--sha224, --sha256, --sha384, --sha512 Calculate SHA2 message digest.
--sha3-224, --sha3-256, --sha3-384, --sha3-512 Calculate SHA3 message digest.
--blake2s, --blake2b Calculate BLAKE2S/BLAKE2B message digest.
--blake3 Calculate BLAKE3 message digest.
-T, --tth Calculate TTH message digest.
--btih Calculate BitTorrent InfoHash message digest.
-A, --aich Calculate AICH message digest.
-E, --ed2k Calculate eDonkey message digest.
-L, --ed2k-link Calculer et imprimer lien eDonkey.
--tiger Calculate Tiger message digest.
-G, --gost12-256 Calculate GOST R 34.11-2012, 256 bit message digest.
--gost12-512 Calculate GOST R 34.11-2012, 512 bit message digest.
--gost94 Calculate GOST R 34.11-94 message digest.
--gost94-cryptopro Calculate GOST R 34.11-94 CryptoPro message digest.
--ripemd160 Calculate RIPEMD-160 message digest.
--has160 Calculate HAS-160 message digest.
--edonr256, --edonr512 Calculate EDON-R 256/512 message digest.
--snefru128, --snefru256 Calculate SNEFRU-128/256 message digest.
-a, --all Calculate all supported hash functions.
-c, --check Check hash files specified by command line.
-u, --update=<hashfile> Update the specified hash file.
--missing=<hashfile> List files from hash file that are missing or inaccessible.
--unverified=<hashfile> List command-line files missing from given hash file.
-e, --embed-crc Rename files by inserting crc32 sum into name.
-k, --check-embedded Verify files by crc32 sum embedded in their names.
--list-hashes List the names of supported hash functions, one per line.
-B, --benchmark Benchmark selected algorithm.
-v, --verbose Be verbose.
--brief Use brief form of hash file verification report.
-r, --recursive Process directories recursively.
--file-list=<file> Process a list of files.
-m, --message=<text> Process the text message.
--skip-ok Don't print OK messages for successfully verified files.
--ignore-missing Ignore missing files, while verifying a hash file.
-i, --ignore-case Ignore case of filenames when updating hash files.
-P, --percents Show percents, while calculating or verifying message digests.
--speed Output per-file and total processing speed.
--max-depth=<n> Descend at most <n> levels of directories.
--openssl=<list> Specify hash functions to be calculated using OpenSSL.
-o, --output=<file> File to output calculation or checking results.
-l, --log=<file> File to log errors and verbose information.
--sfv Print message digests, using SFV format (default).
--bsd Print message digests, using BSD-like format.
--simple Print message digests, using simple format.
--one-hash Print one message digest per line without file information.
--hex Print message digests in hexadecimal format.
--base32 Print message digests in Base32 format.
-b, --base64 Print message digests in Base64 format.
-g, --magnet Print message digests as magnet links.
--torrent Create torrent files.
--utf8 Use UTF-8 encoding for output (Windows only).
--win Utilise le l'encodage de caractères Windows en sortie (Windows seulement).
--dos Utilise le l'encodage de caractères DOS en sortie (Windows seulement).
--template=<file> Load a printf-like template from the <file>
-p, --printf=<format string> Format and print message digests.
See the RHash manual for details.
The options -W and --whirlpool are working perfectly. The algorithm is returned by the --list-hashes option.
Finally, a lot of commands are missing :
{ F_UFLG, 0, 0, "uppercase", 0, &opt.flags, OPT_UPPERCASE },
{ F_UFLG, 0, 0, "lowercase", 0, &opt.flags, OPT_LOWERCASE },
{ F_UFLG, 0, 0, "follow", 0, &opt.flags, OPT_FOLLOW },
{ F_UFLG, 0, 0, "gost-reverse", 0, &opt.flags, OPT_GOST_REVERSE },
{ F_CSTR, 0, 0, "embed-crc-delimiter", 0, &opt.embed_crc_delimiter, 0 },
{ F_PFNC, 0, 0, "path-separator", (opt_handler_t)set_path_separator, 0, 0 },
{ F_PFNC, 'q', 0, "accept", (opt_handler_t)add_file_suffix, 0, MASK_ACCEPT },
{ F_PFNC, 't', 0, "crc-accept", (opt_handler_t)add_file_suffix, 0, MASK_CRC_ACCEPT },
{ F_PFNC, 0, 0, "exclude", (opt_handler_t)add_file_suffix, 0, MASK_EXCLUDE },
{ F_VFNC, 0, 0, "video", (opt_handler_t)accept_video, 0, 0 },
{ F_UFLG, 0, 0, "bt-private", 0, &opt.flags, OPT_BT_PRIVATE },
{ F_UFLG, 0, 0, "bt-transmission", 0, &opt.flags, OPT_BT_TRANSMISSION },
{ F_PFNC, 0, 0, "bt-piece-length", (opt_handler_t)set_bt_piece_length, 0, 0 },
{ F_UFNC, 0, 0, "bt-announce", (opt_handler_t)bt_announce, 0, 0 },
{ F_TSTR, 0, 0, "bt-batch", 0, &opt.bt_batch_file, 0 },
{ F_UFLG, 0, 0, "benchmark-raw", 0, &opt.flags, OPT_BENCH_RAW },
{ F_UFLG, 0, 0, "no-detect-by-ext", 0, &opt.flags, OPT_NO_DETECT_BY_EXT },
{ F_UFLG, 0, 0, "no-path-escaping", 0, &opt.flags, OPT_NO_PATH_ESCAPING },
Maybe I missed some ones. Btw, it would be better to group them.