Boost logo

Boost :

Subject: [boost] Crypto/hashes library?
From: James E. King, III (jking_at_[hidden])
Date: 2017-09-07 03:05:37


The boost uuid module contains an implementation of the sha1 hash algorithm
for purposes of generating a uuid from arbitrary input. I've opened an
issue on github to make the hash algorithm configurable:

I was hoping to find a concept and implementation of a few hashes somewhere
in boost that could be used instead, however I haven't found any. Back in
2010 someone posted a link to a "boost::hashes" repository but I was unable
to see what the outcome of the discussion was other than that it was not
included. A collection of hashing algorithms that are well tested would be
quite useful in a number of ways; and I like the hash size template style
used in the repo from 2010:

Indeed there's mention of a discussion about the proper placement of sha1
inside boost::uuid in there:

So I was curious where that effort ended up, and if there was a resolution
on whether an independent library for hashing was ultimately something that
folks wanted to pursue or avoid.



Boost list run by bdawes at, gregod at, cpdaniel at, john at