RSACng.EncryptValue(Byte[]) Method

Definition

Encrypts the input data using the public key.

public override byte[] EncryptValue (byte[] rgb);

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

Vara Útgáfur
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1