fOAEP parameter in RSA encryption

Viewed 4210

RSACryptoServiceProvider.Encrypt() has two parameters: rgb (the data to encrypt), and fOAEP. fOAEP is a boolean value which determines what kind of padding should be used:

fOAEP
Type: System.Boolean

true to perform direct RSA encryption using OAEP padding (only available on a computer running Microsoft Windows XP or later); otherwise, false to use PKCS#1 v1.5 padding. 

It says that true will only work on Windows XP or later, but I assume that that doesn't necessarily include Linux and other languages. That being said, this does need to work on Linux and with PHP. Given that my two biggest priorities are security, and interoperability with a PHP script, should this value be true of false?

2 Answers
Related