question about rsa encryption

Sidney Markowitz sidney at
Mon Feb 3 16:12:41 EST 2003

Scott G. Kelly <scott at> wrote:
> I seem to recall reading somewhere that there is some issue
> with directly encrypting data with an
> RSA public key, perhaps some vulnerability

The short answer is that you should use one of the standard padding modes
that are designed for RSA encryption, usually OAEPPadding. There are
subtleties that the paddings are designed to take into to account, and if
you use the padding you don't need to know all of them.

 -- sidney

The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at

More information about the cryptography mailing list