Hello, I have managed to use a StringSink and the PublicKey.Save() function to export my ElGamal keys to a std::string.
How Do I now reverse that and import the Strings to an ElGamal Public/Private key? I am using Encryptor/Decryptor, but when I do something like PublicKey *MyPubKey; StringSource source(stringPublicKey, true); MyPubKey->Load(source); I get a segfault on MyPubKey. Probably because it is just a pointer? However, PublicKey is just an interface, and I can't figure out which concrete class type I need to make this work, if that is indeed my problem. Thanks for helping. -Derek -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- 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. For more options, visit https://groups.google.com/d/optout.