RSA.EncryptValue Method

When overridden in a derived class, encrypts the input data using the public key.

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

public abstract byte[] EncryptValue(
	byte[] rgb


Type: System.Byte[]
The plain text to be encrypted.

Return Value

Type: System.Byte[]
The resulting encryption of the rgb parameter as cipher text.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions