Hi

I just downloaded Crypto++ 552. succesfully compiled dll version.
dlltest project compiles and works good, but when I add such lines to
it (trying to decode a 3DES text which comes Base64 encoded)

  std::string decipher;
  CryptoPP::CBC_Mode<CryptoPP::DES_EDE3>::Decryption _3des(key,
CryptoPP::DES_EDE3::DEFAULT_KEYLENGTH, iv);
  CryptoPP::StringSink sink(decipher);
  CryptoPP::StreamTransformationFilter dec(_3des, &sink);
  CryptoPP::Base64Decoder base64_dec(&dec);
  CryptoPP::StringSource source(ansiString, true, &base64_dec);

Btw, is my code correct for decoding a 3DES string which comes Base64
encoded? What would be the code to encode a PlaintText with 3DES and
Base64?


then I'm getting such an error when linking
2>dlltest.obj : error LNK2001: unresolved external symbol "private:
static int const * __cdecl
CryptoPP::Base64Decoder::GetDecodingLookupArray(void)" (?
[EMAIL PROTECTED]@CryptoPP@@CAPBHXZ)

Any ideas how to fix this are welcome.
Using VS 2005.

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