Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RSACryptoServiceProvider.Encrypt Method


Encrypts data with the RSA algorithm.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

System_CAPS_pubmethodEncrypt(Byte[], Boolean)

Encrypts data with the RSA algorithm.

System_CAPS_pubmethodEncrypt(Byte[], RSAEncryptionPadding)

Encrypts data with the RSA algorithm using the specified padding. (Overrides RSA.Encrypt(Byte[], RSAEncryptionPadding).)

Return to top
© 2016 Microsoft