RSACng.EncryptValue(Byte[]) Method

Definition

Encrypts the input data using the public key.

public:
 override cli::array <System::Byte> ^ EncryptValue(cli::array <System::Byte> ^ rgb);
public override byte[] EncryptValue (byte[] rgb);
override this.EncryptValue : byte[] -> byte[]
Public Overrides Function EncryptValue (rgb As Byte()) As Byte()

Parameters

rgb
Byte[]

The plain text to be encrypted.

Returns

Byte[]

The resulting encryption of the rgb parameter as cipher text.

Exceptions

This method call is not supported.

Applies to