Subject: Re: [boost] Crypto/hashes library?
From: Richard Hodges (hodges.r_at_[hidden])
Date: 2017-09-07 09:50:45
I think it would be reasonable to say that most people (tm) use either the
openssl or CryptoCpp libraries.
If you're using boost::asio with ssl then you may as well use openssl since
it's a dependency.
However, a uniform boost::crypto library would I think be a fantastic
addition to boost. It could be a uniform wrapper around whatever is normal
for the target (or configured at ./configure time).
It might even be the beginning of the road towards a std::crypto, which I
think is sorely needed.
On 7 September 2017 at 05:05, James E. King, III via Boost <
> 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.
> Unsubscribe & other changes: http://lists.boost.org/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk