Skip to content

RHash completely ignores user-specified command-line Argument (Hash Function) order #296

Description

@irtcloud

Command: rhash -MTHC <filename>

Expected Output: <filename> <MD5 Hash> <TTH Hash> <SHA1 Hash> <CRC32 Hash>

Actual Output: <filename> <CRC32 Hash> <MD5 Hash> <SHA1 Hash> <TTH Hash>

It's the first time I've seen any command-line utility display such bizarre non-intuitive behavior, where it completely ignores the argument order specified by the user, and forcibly sticks to its own internally specified order (I think it follows whatever order --list-hashes displays).

Since the Hash Function names are not printed by default (as with similar utilities like FSum), and many Hash Functions have digests of the same length, the default behavior is extremely confusing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions