RSACryptoServiceProvider: Encrypt

Encrypt

Encrypts data using the public key in this RSA instance.



 Public Function Encrypt(
	  ByRef Rgb ( ) As Byte,
	  ByVal fOAEP As Boolean ) As Byte ( )

Parameters

Rgb
[ByRef] Byte. The data to be encrypted.
fOAEP
[ByVal] Boolean. A flag indicating if OAEP padding should be used, otherwise PKCS#1 v1.5 padding is used.

Return Values

Byte() - 

See Also

Project CorLib Overview

Class RSACryptoServiceProvider Overview