Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "null" hash type, as requested in issue #362 #364

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ win64:
mv src/sha256deep.exe src/sha256deep64.exe
mv src/tigerdeep.exe src/tigerdeep64.exe
mv src/whirlpooldeep.exe src/whirlpooldeep64.exe
mv src/nulldeep.exe src/nulldeep64.exe
mv src/hashdeep.exe src/hashdeep64.exe

strip32:
Expand Down
2 changes: 1 addition & 1 deletion doc/hashdeep.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h2><a name='sect2' href='#toc2'>Description</a></h2>
<dt><b>-c &lt;alg1&gt;[,&lt;alg2&gt;...]</b> </dt>
<dd>Computation mode.
Compute hashes of FILES using the algorithms specified. Legal values are
md5, sha1, sha256, tiger, and whirlpool.
md5, sha1, sha256, tiger, whirlpool, and null.
<p>
<p> </dd>

Expand Down
5 changes: 3 additions & 2 deletions man/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ALL_GOALS={md5,sha1,sha256,sha3,tiger,whirlpool,hashdeep}
ALL_GOALS={md5,sha1,sha256,sha3,tiger,whirlpool,null,hashdeep}

man_MANS=md5deep.1 sha1deep.1 sha256deep.1 tigerdeep.1 whirlpooldeep.1 hashdeep.1 #sha3deep.1
man_MANS=md5deep.1 sha1deep.1 sha256deep.1 tigerdeep.1 whirlpooldeep.1 nulldeep.1 hashdeep.1 #sha3deep.1

# We erase the old man pages, just in case they might be symbolic links
# (symbolic links were used in a previous release)
Expand All @@ -14,6 +14,7 @@ update-manpages: md5deep.1
# $(INSTALL) $< sha3deep.1
$(INSTALL) $< tigerdeep.1
$(INSTALL) $< whirlpooldeep.1
$(INSTALL) $< nulldeep.1

EXTRA_DIST=${man_MANS}

4 changes: 2 additions & 2 deletions man/hashdeep.1
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ reads from standard input.
.TP
\fB\-c <alg1>[,<alg2>...]\fR
Computation mode. Compute hashes of FILES using the algorithms
specified. Legal values are md5, sha1, sha256, tiger, and
whirlpool.
specified. Legal values are md5, sha1, sha256, tiger, whirlpool,
and null.


.TP
Expand Down
Loading