On Sun, Feb 22, 2009 at 16:31, Geoff Beier <[email protected]> wrote:
>
> http://cryptopp.pastebin.com/f4a986357
>

Sorry to reply to my own post, but I just noticed that someone had
posted a question as an edit to the code in the pastebin, and I wanted
to redirect the follow-up discussion here, since most of us won't
notice things added to the pastebin unless they're called out on this
list :-)

A user with the handle Dio asked:
20      +       @What is SecByteBlock means?@
21      +       @SecByteBlock outbuf(sha.DigestSize());@

SecByteBlock is defined in the cryptopp header secblock.h. Read there
for full details of what it's good for. Here, I'm just using it as a
convenient smart pointer to a byte array. Others may want to correct
me, but offhand I'd say that every occasion I can think of where I'd
want to use a byte array with a crypto++ interface, it's safer/more
convenient to use a SecByteBlock.


Geoff

--~--~---------~--~----~------------~-------~--~----~
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