Cyptmon wrote:
> Is there a way to calculate the message digest using a chained
> approach, wherein, I calculate the hash of data 512 bits at a time,
> use this hash as an IV for the next round and finally get the hash of
> the large chunk of data. At any time I do not want to be working on
> more than 512 bits of data. Can I get this digest and then sign it
> and subsequently verify it ? Or do we always have to pass the entire
> data to the Signer class?

Well, sure, you could repeatedly just call the Update method of a 
HashTransformation-derived object with the next 64 bytes of your data, 
and then whatever "change" is left over the last time.

Then call the Final method, passing a pointer to where you want the 
computed digest to be stored.

But this *is* something of a manual method, and Crypto++ is typically 
used at a higher level. ;)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to