Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-30 19:48:53


I'm showing some interest, but also ignorance: why wouldn't you just do the
finalization step "on demand", when the checksum is requested? Does that
invalidate the MD5 process so that it can't be continued?

----- Original Message -----
From: "Daryle Walker" <darylew_at_[hidden]>
To: "Boost" <boost_at_[hidden]>
Sent: Friday, November 30, 2001 7:23 PM
Subject: [boost] Need interface advice

> It seems that no one noticed that I put up the "coding.zip" library in the
> vault a week ago. It contains a class and a function for doing Adler-32
> coding, which is similar to the CRC library I did at this year's start.
>
> I want to add a similar class that works the MD5 standard. But there's an
> interface problem. CRC and Adler-32 can process bytes, and the user can
> check the checksum of what has been processed so far. Unfortunately, MD5
> requires a finalization step before getting the checksum. I could use an
> interface like CRC, and just add a finalization method to a MD5 class.
> However, this will add a state so I can make sure that all byte processing
> occurs before finalization and the checksum calculation happens after
> finalization. How should I have the MD5 (class) interface?
>
> --
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk