i am trying to encrypt using rsa and a string based
DEREncodePublicKey. When i run the code below i get the following
error on the encryptor: CryptoPP::BERDecodeErr at memory location.
string pb("93880B9999427FFFBD189F66CD1D0E165B75…");
CryptoPP::StringSource pubStr(pb, true, new CryptoPP::HexDecoder);
CryptoPP::RSAES_OAEP_SHA_Encryptor pub(pubStr);
thanks in advance,
john
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---