3 overrides of Encrypt
System.Security.Cryptography (3)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.EncryptDecrypt.cs (1)
19public override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding) =>
System\Security\Cryptography\RSABCrypt.cs (1)
120public override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
System\Security\Cryptography\RSACryptoServiceProvider.Windows.cs (1)
563public override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
8 references to Encrypt
System.Security.Cryptography (7)
System\Security\Cryptography\RSA.cs (5)
119byte[] 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)
72return _rsaKey.Encrypt(rgbData, RSAEncryptionPadding.OaepSHA1);
System\Security\Cryptography\RSAPKCS1KeyExchangeFormatter.cs (1)
53return _rsaKey.Encrypt(rgbData, RSAEncryptionPadding.Pkcs1);
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
174ktri.EncryptedKey = rsa.Encrypt(cek, padding);