4 references to Encrypt
Microsoft.Build.Tasks.Core (2)
ManifestUtil\CngLightup.cs (2)
268
return rsaCsp.
Encrypt
(data, false);
315
return rsaCsp.
Encrypt
(data, true);
System.Security.Cryptography (2)
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (2)
98
padding == RSAEncryptionPadding.Pkcs1 ?
Encrypt
(data, fOAEP: false) :
99
padding == RSAEncryptionPadding.OaepSHA1 ?
Encrypt
(data, fOAEP: true) : // For compat, this prevents OaepSHA2 options as fOAEP==true will cause Decrypt to use OaepSHA1