std::string PublicKeyString("MHYwTwYGKw4HAgEBMEUCIQDebUvQDd9UPMmD27BJovZSIgWfexL0SWkfJQPMLsJvMwIgDy/kEthwO6Q+L8XHnzumnEKs+txH8QkQD+M/8u82ql0DIwACIAY6rfW+BTcRZ9QAJovgoB8DgNLJ8ocqOeF4nEBB0DHH"); CryptoPP::ByteQueue queue; CryptoPP::Base64Decoder decoder(new CryptoPP::Redirector(queue)); decoder.Put((const Byte *) PublicKeyString.data(), PublicKeyString.size()); decoder.MessageEnd(); CryptoPP::ElGamal::Encryptor encryptor; encryptor.AccessKey().Load(queue);
-- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/7470e67b-8aa4-4025-bf60-9365dcbdb5ea%40googlegroups.com.