Hi,

My use of the Crypto++ library has gone very well, but I have a small 
question...

If I use RSAES_OAEP_Encryptor & RSAES_OAEP_Decryptor everything is fine. 
(I'm using a 2048-bit key from PEM files generated by OpenSSL).

My question is this: Will the length of ciphertext produced by 
encryptor.Encrypt(...) always equal decryptor.FixedCiphertextLength() or 
can be be less than that? I only ask as this is in a library used by a 
number of applications and I need to sanity check parameters.....

BTW. Is there any faster was to encrypt/decrypt using RSA which maintains 
at least the same level of security provided by OAEP? With a 2048 bit key, 
on an example test box I'm finding it takes about 80uS to encode a short 
string and 4.3mS (53 times longer) to decrypt. I know that RSA decryption 
is slow, but.... the system is running XP Pro SP3/Xeon E5520 and was 
compiled with VS2008 with /MD rather than /MT. I can't use a short key...

Many thanks

Nick

-- 
-- 
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/groups/opt_out.

Reply via email to