Asymetrical Decryption for decrypting inbound data communications from client

Namespace:  RedCritterServerV1.Encryption
Assembly:  RedCritterServerV1 (in RedCritterServerV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public static string Decrypt(
	string dataToDecrypt,
	string privateKey
)
Public Shared Function Decrypt ( _
	dataToDecrypt As String, _
	privateKey As String _
) As String

Parameters

dataToDecrypt
String
The string to decrypt
privateKey
String
The value in ServerAuthenticationInfo.App.ClientPublicKey available as the result of the call to the AuthenticateUser in the ServerAPI web service.

Return Value

The decypted string

See Also