Remove default hash algorithm from the new hash functions
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 28 Sep 2018 12:43:45 +0000 (14:43 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Tue, 2 Oct 2018 12:15:55 +0000 (14:15 +0200)
commit2bf8e5a0c61088c820ddd493f92a97c07387e353
treef51aa8f524f7852dc92c4a68f01b24c4dcc617be
parentd87beebd524ad2592b44eac91efb4bf01a3a2377
Remove default hash algorithm from the new hash functions

Rationale: SHA1 is outdated, we would need to switch
to something like SHA256 nowadays. If the algorithm
is given explicitly, we can grep for the identifier.

When we do the migration from the libgcrypt-intranator API,
it's better to explicitly adapt the call sites.
src/crypto.hxx