[PATCH] Add an utility to calculate hashes over a set of files

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Mon Dec 16 18:32:33 CET 2013

On Mon, Dec 16, 2013 at 9:30 PM, Dmitry Eremin-Solenikov
<dbaryshkov at gmail.com> wrote:
> On Mon, Dec 16, 2013 at 9:10 PM, Werner Koch <wk at gnupg.org> wrote:
>> On Mon, 16 Dec 2013 17:41, dbaryshkov at gmail.com said:
>>> An utility like rhash that has the ability to calculate different hashes
>>> over a set of files it usefull. Add gchash utility to calculate hashes
>>> supported by libgcrypt.
>> I can't see why Libgcrypt needs to provide such a tool.  It is a library
>> and applications should provide user interafces.  For example gpg has a
>> feature to create digests for all Libgcrypt supported algorithms.
> This is mostly used for testing/verification, like mpicalc is. I used that
> to check gost hashes implementation (to compare file caches with
> hashes generated by other tools). When I had several similar
> test programs locally, I thought that libgcrypt can benefit from having
> such standalone tool.

I did not think about using gpg to generate digests. I wanted to minimize
dependencies in my development queue.

With best wishes

More information about the Gcrypt-devel mailing list