|
Boost Users : |
From: Kamil Zubair (kamilzubair_at_[hidden])
Date: 2008-08-17 23:11:10
I have succesfully build your code, though I remember I have to add #include <boost/cstdint.hpp> in one of your header. I compared the computation result with other md5 library and it match so far.
Thanks for your tip about crypto, I'll try it too.
--- On Thu, 8/14/08, Daryle Walker <darylew_at_[hidden]> wrote:
From: Daryle Walker <darylew_at_[hidden]>
Subject: Re: [Boost-users] md5 in boost sandbox
To: boost-users_at_[hidden]
Date: Thursday, August 14, 2008, 12:37 PM
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 mailing list Boost-users_at_[hidden] http://lists.boost.org/mailman/listinfo.cgi/boost-users
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