OS Manuals

/usr/bin/rz-hash

UNIX-like reverse engineering framework and command-line toolset

From rizin 0.9.1-r2 (os), captured 2026-11-05 by running rz-hash -help (exit 1). permalink

ERROR: rz-hash: error, expected 'little' or 'big' but got 'lp'
Usage: rz-hash [-vhBkjLq] [-b S] [-a A] [-c H] [-E A] [-D A] [-s S] [-x S] [-f O] [-t O] [files|-] ...
 -v        Show version information
 -h        Show this help
 -         Input read from stdin instead from a file
 -a algo   Hash algorithm to use and you can specify multiple ones by
           Appending a comma (example: sha1,md4,md5,sha256)
 -B        Output the calculated value for each block
 -b size   Set the block size
 -c value  Compare calculated value with a given one (hexadecimal)
 -e endian Set the endianness (default: 'big' accepted: 'big' or 'little')
 -D algo   Decrypt the given input; use -S to set key and -I to set IV (if needed)
 -E algo   Encrypt the given input; use -S to set key and -I to set IV (if needed)
 -f from   Start the calculation at given offset
 -t to     Stop the calculation at given offset
 -I iv     Set the initialization vector (IV)
 -i times  Repeat the calculation N times
 -j        Output the result as a JSON structure
 -k        Output the calculated value using openssh's randomkey algorithm
 -L        List all algorithms
 -q        Set quiet mode (use -qq to get only the calculated value)
 -S seed   Set the seed for -a, use '^' to append it before the input, use '@'
           Prefix to load it from a file and '-' from read it
 -K key    Set the hmac key for -a and the key for -E/-D, use '@' prefix to
           Load it from a file and '-' from read it
           From stdin (you can combine them)
 -s string Input read from a zero-terminated string instead from a file
 -x hex    Input read from a hexadecimal value instead from a file

           All the input (besides -s/-x/-c) can be hexadecimal or strings
           If 's:' prefix is specified
Options (21)
OptionDescriptionSource
-vShow version informationhelp + man
-hShow usage help messagehelp + man
-a algoHash algorithm to use and you can specify multiple ones by Appending a comma (example: sha1,md4,md5,sha256)help + man
-BOutput the calculated value for each blockhelp + man
-b sizeSet the block sizehelp + man
-c valueCompare calculated value with a given one (hexadecimal)help + man
-D algoDecrypt the given input;help + man
-E algoEncrypt the given input;help + man
-f fromStart the calculation at the given offsethelp + man
-t toStop the calculation at the given offsethelp + man
-I ivSet the initialization vector (IV)help + man
-i timesRepeat the calculation N timeshelp + man
-jOutput the result as a JSON structurehelp + man
-kOutput the calculated value using openssh's randomkey algorithmhelp + man
-LList all algorithmshelp + man
-qSet quiet mode (use -qq to get only the calculated value)help + man
-S seedSet the seed for -a, use '^' to append it before the input, use '@' Prefix to load it from a file and '-' from read ithelp + man
-K keySet the hmac key for -a and the key for -E/-D, use '@' prefix to Load it from a file and '-' from read it From stdin (you can combine them)help + man
-x hexInput read from a hexadecimal value instead of from a filehelp + man
-e endianSet the endianness (default: 'big'; (in the manual page but not in --help)man
-s stringInput read from a zero-terminated string instead of from a file (in the manual page but not in --help)man
Exit status (1) from the manual page
0success

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.