Hi Wei,
I like using the Pipeling (Filter Chaining). However, the following
code has a flaw. There is no SecByteBlock backing the string. Would it
be possible for you to develop a SecureString Class (a drop in
replacement for std::string). This would also aid in development - you
could provide the operator(byte*) so casting is not required for the
Library usage.
I was considering trying to modify the allocator myself, but it's a
bit beyond me at this point - I don''t possess a large enough body of
knowledge with respect to the C++ library.
Jeff
{ // BER Encode Private Key
Decryptor.AccessKey().Save(
CryptoPP::HexEncoder(
new CryptoPP::StringSink( prvkey )
)
);
} // BER Encode Private Key
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Crypto++
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---