3 overrides of Encrypt
System.Security.Cryptography (3)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.EncryptDecrypt.cs (1)
19
public override byte[]
Encrypt
(byte[] data, RSAEncryptionPadding padding) =>
System\Security\Cryptography\RSABCrypt.cs (1)
120
public override byte[]
Encrypt
(byte[] data, RSAEncryptionPadding padding)
System\Security\Cryptography\RSACryptoServiceProvider.Windows.cs (1)
563
public override byte[]
Encrypt
(byte[] data, RSAEncryptionPadding padding)
8 references to Encrypt
System.Security.Cryptography (7)
System\Security\Cryptography\RSA.cs (5)
119
byte[] result =
Encrypt
(data.ToArray(), padding);
155
/// This implementation has not implemented one of <see cref="
Encrypt
(byte[], RSAEncryptionPadding)" /> or
158
/// <seealso cref="
Encrypt
(byte[], RSAEncryptionPadding)" />
205
/// This implementation has not implemented one of <see cref="
Encrypt
(byte[], RSAEncryptionPadding)" /> or
208
/// <seealso cref="
Encrypt
(byte[], RSAEncryptionPadding)" />
System\Security\Cryptography\RSAOAEPKeyExchangeFormatter.cs (1)
72
return _rsaKey.
Encrypt
(rgbData, RSAEncryptionPadding.OaepSHA1);
System\Security\Cryptography\RSAPKCS1KeyExchangeFormatter.cs (1)
53
return _rsaKey.
Encrypt
(rgbData, RSAEncryptionPadding.Pkcs1);
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
174
ktri.EncryptedKey = rsa.
Encrypt
(cek, padding);