question about rsa encryption
Sidney Markowitz
sidney at sidney.com
Mon Feb 3 16:12:41 EST 2003
Scott G. Kelly <scott at bstormnetworks.com> 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 wasabisystems.com
More information about the cryptography
mailing list