$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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
<boost_at_[hidden]> wrote:
> 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:
<http://htmlpreview.github.io/?https://github.com/HowardHinnant/papers/blob/master/hashing.html>
Repository:
<https://github.com/howardhinnant/hash_append>
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.