Sage Modeling and Simulation Library

Crypto..::..EncryptString Method

Triple-DES encrypts the plain text using the provided key.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static string EncryptString(
	string plainText,
	string key
)

Parameters

plainText
Type: String
The plain text to be encrypted.
key
Type: String
The key to use in encrypting the text.

Return Value

The cipher text string resultant from the encryption.