You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+29
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,12 @@ OPTIONS
50
50
-? Print this help
51
51
--version Print program version
52
52
-version Print program version
53
+
-list-hashes List available hash functions, including those supported by openssl
54
+
-type <hash> Hash using supplied type. This supports chaining hashes like so: '-type sha512,md5'
53
55
-md5 Use md5 hash algorithmn
54
56
-sha1 Use sha1 hash algorithmn
55
57
-sha256 Use sha256 hash algorithmn
58
+
-sha384 Use sha256 hash algorithmn
56
59
-sha512 Use sha512 hash algorithmn
57
60
-whirl Use whirlpool hash algorithmn
58
61
-whirlpool Use whirlpool hash algorithmn
@@ -159,6 +162,7 @@ Hashrat can also detect if it's being run under any of the following names (e.g.
159
162
shasum run with '-trad -sha1'
160
163
sha1sum run with '-trad -sha1'
161
164
sha256sum run with '-trad -sha256'
165
+
sha384sum run with '-trad -sha256'
162
166
sha512sum run with '-trad -sha512'
163
167
jh224sum run with '-trad -jh224'
164
168
jh256sum run with '-trad -jh256'
@@ -250,6 +254,31 @@ USE EXAMPLES
250
254
Search for duplicate files under /home. Update hashes stored in filesystem attributes as you go
251
255
```
252
256
257
+
258
+
OPENSSL HASHES
259
+
==============
260
+
261
+
From v1.21 hashrat supports using hash functions supplied by openssl (provided it's been compiled with --enable-openssl). A list of available hashes can be viewed with `hashrat -list-hashes` and then any listed hash function can be used via the type option.
262
+
263
+
e.g.
264
+
265
+
`hashrat -type openssl:shake128`
266
+
267
+
268
+
269
+
CHAINING HASHES
270
+
===============
271
+
272
+
Hashes can be 'chained' (fed into each other) using the '-type' option and a comma-separated list of hash names.
273
+
274
+
e.g.
275
+
276
+
`hashrat -type sha512,sha512,whirl,md5`
277
+
278
+
this would pipe any input into sha512, then the output of that goes into another sha512 round, then into whirlpool, and finally md5
printf(" %-15s %s\n","--version", "Print program version");
446
449
printf(" %-15s %s\n","-version", "Print program version");
450
+
printf(" %-15s %s\n","-list-hashes", "Print a list of hashes that can be used with the '-type' option");
451
+
printf(" %-15s %s\n","-type <hash>", "specify a hash type to use. This supports hashes coming from other subsystems, such as openssl. It also supports 'chaining' hash types like so: -type sha256,whirl");
0 commit comments