The following code generates an error:
string output;
Base32Encoder encoder(new StringSink(output));
privatekey.GetPrivateExponent().DEREncode(encoder);
Integer x;
StringSource decoder(output, true, new Base32Decoder());
x.BERDecode(decoder);
But if you change Base32 to Base64 or even to Hex, it works splendid!
Is this a bug?
Thanks in advance :)
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---