|
Boost Users : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2008-08-14 13:37:38
On Aug 12, 2008, at 9:53 AM, Kamil Zubair wrote:
> I just checkout the whole boost sandbox directory and notice the
> md5 library. Does this library can already be used ? Does this
> library need to be build or just header only library ? If it needs
> to be build, how I do that ?
1. Don't start a new message by replying to an existing one.
Threading mail- or news-readers will group this message with its
"original," although they're really unrelated.
2. The MD5 stuff is some code I just whipped up (I'm improving on it
as we speak!) to be part of a Boost.CRC successor. It currently does
calculate (hopefully correct) MD5 results, so it's usable if you
want. There's a more extensive library with MD5, SHA-1, etc. called
"crypto" by Kevin Sopp. Look at <http://svn.boost.org/trac/boost/
ticket/1777> for more details.
3. The MD5-Sandbox library does have a mandatory source file
("md5.cpp"). You probably wouldn't want me to dump that much code
into a header file, and therefore into every one of your files.
Since it's non-template code, I can let the optimizer work on it once.
4. On my setup, the project file has 6 targets: Boost.Test,
Boost.Serialization, my md5.cpp, my md5basic.cpp example, my
md5check.cpp example, and my unit tests. The first three are set up
as static libraries, the latter three are command-line executables
that link to the libraries as needed. For your own work, just
include md5.cpp somewhere in your project/make-file, either with all
of your source code directly or in a separate library target.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net