RSACng::EncryptValue Method (array<Byte>^)

.NET Framework (current version)
 

Encrypts the input data using the public key.

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

public:
virtual array<unsigned char>^ EncryptValue(
	array<unsigned char>^ rgb
) override

Parameters

rgb
Type: array<System::Byte>^

The plain text to be encrypted.

Return Value

Type: array<System::Byte>^

The resulting encryption of the rgb parameter as cipher text.

Exception Condition
NotSupportedException

This method call is not supported.

.NET Framework
Available since 4.6.2
Return to top
Show: