2 references to Encrypt
System.Security.Cryptography (2)
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (2)
98padding == RSAEncryptionPadding.Pkcs1 ? Encrypt(data, fOAEP: false) : 99padding == RSAEncryptionPadding.OaepSHA1 ? Encrypt(data, fOAEP: true) : // For compat, this prevents OaepSHA2 options as fOAEP==true will cause Decrypt to use OaepSHA1