A TextCrypter object is used to encrypt or decrypt strings.

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public class TextCrypter
Visual Basic
Public Class TextCrypter
Visual C++
public ref class TextCrypter

Examples

CopyC#
// TextROT13 TEXT TRANSFORMATION
TextAlgorithmParameters parms = new TextAlgorithmParameters(3);
TextCrypter textEncrypter = TextCrypterFactory.Create(SupportedTextAlgorithms.ROT13,parms);
string encrypted = textEncrypter.TextEncryptDecrypt(origString, true);
Console.WriteLine("Encrypted string: " + encrypted);
string decrypted = textEncrypter.TextEncryptDecrypt(encrypted, false);
Console.WriteLine("Decrypted string: " + decrypted);
Console.WriteLine();

Inheritance Hierarchy

System..::..Object
  LLCryptoLib.Crypto..::..TextCrypter

See Also