Dear all,
I have a public key which i can Load and Save to binary without any issue.
It is 292 byte large in binary format.
I saved my public key to base64 like this:
verifKey.Save(CryptoPP::Base64Encoder(new CryptoPP::FileSink("verifkey",
false), false).Ref());
Then decoded it like this:
std::string key_binary;
CryptoPP::FileSource("verifkey", true, new Base64Decoder(new CryptoPP::
StringSink(key_binary)));
The resulting string is 291 byte large. And if I try to load it into a
public key with a StringSource, I get a decoding exception.
If I use a HexEncoder and a HexDecoder, everything works fine (the decoded
string is 292 bytes and loading works)
Is this a known issue?
Thanks
--
--
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.
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.