C-DEngine 5.105

TheCommonUtils..::..cdeRSAEncryptWithKeys Method

Encrypt a string to a byte array using a given RSA Key

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static byte[] cdeRSAEncryptWithKeys(
	string rsaPublic,
	string val
)
Public Shared Function cdeRSAEncryptWithKeys ( _
	rsaPublic As String, _
	val As String _
) As Byte()
public:
static array<unsigned char^>^ cdeRSAEncryptWithKeys(
	String^ rsaPublic, 
	String^ val
)

Parameters

rsaPublic
Type: String
Public RSA Key used for encryption
val
Type: String
String value to be encrypted

Return Value