-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a reason why this works with a HexEncoded public key in a string:

StringSource pubkey(pubkeystring, true, new HexDecoder);
RSAES_OAEP_SHA_Encryptor pub(pubkey);

while this doesn't work with a Base64Encoded public key in a string:

StringSource pubkey(pubkeystring, true, new CryptoPP::Base64Decoder);
RSAES_OAEP_SHA_Encryptor pub(pubkey);


The programm just aborts at the second line with the Base64 encoding


Am I missing something here?


Regards,


Ludwig Seitz


- -- Dipl.-Inform. Ludwig Seitz, LIRIS, INSA-LYON, 7 B�t. Blaise Pascal (501), 20 Avenue Albert Einstein, 69621 Villeurbanne T�l. bureau: +33 (0)4 72 43 63 48 email: [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAF9mCvkfWH3neoacRAmIuAJ9XK6TfBUhZDR6xNlw0THrzN3IQYgCeJN/i
buA0ePnZkYv+Q4Rtpjb93HA=
=Namu
-----END PGP SIGNATURE-----



Reply via email to