Hi,
In https://www.cryptopp.com/wiki/Keys_and_Formats#Saving_Keys, if I
understand correctly, the key is first saved into a ByteQueue before being
saved in a file.
Is there any reason (except mimicking validate2.cpp) not to directly save
the key to a file, as follows?
void SavePublicKey(const string& filename, const PublicKey& key)
{
FileSink file(filename.c_str());
key.Save(file);
file.MessageEnd();
}
Thanks,
Best,
Fabrice
--
--
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.