Hi Renzo, > is there any constraint to limit input size Digest messages can be arbitrary length. You have to count the bytes if you want to call MessageEnd() or Final() at a certain point.
Compile Time constant: MD5::DIGESTSIZE Runtime: md5.DigestSize() Jeff > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Renzo Tomaselli > Sent: Tuesday, April 20, 2004 11:55 AM > To: crypto++ MailList > Subject: digest size > > > Hi all, > is there any constraint to limit input size of a digest > algorithm to a predefined value, in method Update ? Are we > free to choose any input size until we call Final ? And > within the same context: what's the difference, for example, > between using MD5::DIGESTSIZE and md5.DigestSize() ? Are they > to be considered semantically equivalent ? Thanks, > > Renzo Tomaselli >
smime.p7s
Description: S/MIME cryptographic signature
