RSACng.EncryptValue(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.