.TH hashrat "1" "Jan 2015" "HASHRAT 1.5" "hashing tool supporting several hashes and recursivity" .\"Text automatically generated by txt2man .SH NAME \fBhashrat \fP- hashing tool supporting several hashes and recursivity \fB .SH SYNOPSIS .nf .fam C \fBhashrat\fP [\fIoptions\fP] [\fIpaths\fP \fIto\fP \fIhash\fP] \fBhashrat\fP \fB-c\fP [\fIoptions\fP] [\fIinput\fP \fIfile\fP \fIof\fP \fIhashes\fP] .fam T .fi .fam T .fi .SH DESCRIPTION Hashrat is a \fIhash\fP-generation utility that supports the md5, sha1, sha256, sha512, whirlpool, jh-224, jh256, jh-384 and jh-512 \fIhash\fP functions, and also the HMAC versions \fIof\fP those functions. It can output in traditional format (same as md5sum and shasum and the like) or it's own format. .PP Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal or base64. .PP Hashrat also supports directory recursion, hashing entire devices, and generating a \fIhash\fP for an entire directory. It has a CGI mode that can be used as a web-page \fIto\fP lookup \fIhashes\fP. .SH OPTIONS .TP .B -?, \fB-help\fP, \fB--help\fP Print this help. .TP .B \fB-version\fP, \fB--version\fP Print program version. .TP .B \fB-type \fP Use \fIhash\fP algorithm . Hash types can be chained as a comma-seperated list. .TP .B \fB-md5\fP Use md5 \fIhash\fP algorithm. This is the default \fIhash\fP. .TP .B \fB-sha1\fP Use sha1 \fIhash\fP algorithm. .TP .B \fB-sha256\fP Use sha256 \fIhash\fP algorithm. .TP .B \fB-sha512\fP Use sha512 \fIhash\fP algorithm. .TP .B \fB-whirl\fP Use whirlpool \fIhash\fP algorithm. .TP .B \fB-whirlpool\fP Use whirlpool \fIhash\fP algorithm. .TP .B \fB-jh224\fP Use jh-224 \fIhash\fP algorithm. .TP .B \fB-jh256\fP Use jh-256 \fIhash\fP algorithm. .TP .B \fB-jh384\fP Use jh-384 \fIhash\fP algorithm. .TP .B \fB-jh512\fP Use jh-512 \fIhash\fP algorithm. .TP .B \fB-hmac\fP HMAC using specified \fIhash\fP algorithm. .TP .B \fB-8\fP Encode with octal instead \fIof\fP hex. .TP .B \fB-10\fP Encode with decimal instead \fIof\fP hex. .TP .B \fB-H\fP, \fB-HEX\fP Encode with UPPERCASE hexadecimal. .TP .B \fB-64\fP, \fB-base64\fP Encode with base64. .TP .B \fB-i64\fP, \fB-i64\fP Encode with base64, with rearranged characters. .TP .B \fB-p64\fP, \fB-p64\fP Encode with base64 with a-z,A-Z and _-, for best compatibility with 'allowed characters' in websites. .TP .B \fB-x64\fP, \fB-x64\fP Encode with XXencode style base64. .TP .B \fB-u64\fP, \fB-u64\fP Encode with UUencode style base64. .TP .B \fB-g64\fP, \fB-g64\fP Encode with GEDCOM style base64. .TP .B \fB-a85\fP, \fB-a85\fP Encode with ASCII85. .TP .B \fB-z85\fP, \fB-z85\fP Encode with ZEROMQ variant of ASCII85. \fB-t\fP, \fB-trad\fP Output \fIhashes\fP in traditional md5sum, shaXsum format. .TP .B \fB-tag\fP, \fB--tag\fP \fB-bsd\fP Output \fIhashes\fP in bsdsum format. .TP .B \fB-r\fP Recurse into directories when hashing files. .TP .B \fB-f\fP Hash files listed in . .TP .B \fB-i\fP Only \fIhash\fP items matching a comma-seperated list of shell patterns. Please be aware that -i does not yet work on directories, only files. .TP .B \fB-x\fP Exclude items matching a comma-seperated list of shell patterns. Works on both directories and files. .TP .B \fB-n\fP Truncate \fIhashes\fP \fIto\fP bytes. .TP .B \fB-c\fP CHECK \fIhashes\fP against list from \fIfile\fP (or stdin). .TP .B \fB-cf\fP CHECK \fIhashes\fP but only show failures. .TP .B \fB-C \fP CHECK \fIfiles\fP under dir recursively against a list from \fIfile\fP (or stdin). This can detect 'new' files .TP .B \fB-Cf \fP CHECK \fIfiles\fP under dir recursively against a list from \fIfile\fP (or stdin). This can detect 'new' files. Only show failures. .TP .B \fB-m\fP MATCH files from a list read from stdin. .TP .B \fB-lm\fP Read \fIhashes\fP from stdin, upload them \fIto\fP a memcached server (requires the \fB-memcached\fP option). .TP .B \fB-X\fP, \fB-exec\fP In CHECK or MATCH mode only examine executable files. .TP .B \fB-dups\fP Search for duplicate files. .TP .B \fB-memcached\fP , \fB-mcd\fP Specify memcached server. This option overrides reading list from stdin if used with \fB-m\fP, \fB-c\fP or \fB-cf\fP. .TP .B \fB-h\fP