Subject: Re: [boost] Crypto/hashes library?
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-09-07 16:11:42
On Thu, Sep 7, 2017 at 8:30 AM, Niall Douglas via Boost
> I vaguely remember that...Howard had some WG21 proposal for a
> standardised hashing infrastructure? One not fundamentally broken like
> std::hash. One should probably study/implement that proposal.
You're thinking of hash_append, described here:
This library is designed for non-cryptographic hashing. Specifically
for unordered containers (hash tables). The requirements for
cryptographic hash algorithms are different, and difficult to unify
with the use-case for hash tables.
For example when calculating the cryptographic digest on serialized
data, endianness of integers matters.