Revision: 39984
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 24, 2011 12:52 by kyrathaba
Initial Code
using System; namespace Kyrathasoft.Obfuscate { [Serializable] public class serText { //constructor public serText(string inputText, bool theWorks) { theText = inputText; if (!theWorks) { startIndex = 0; theLength = inputText.Length; reverse = false; shift = false; } else { reverse = true; shift = true; } } //constructor public serText(string inputText, int start, int length, bool reverse, bool shift) { theText = inputText; startIndex = start; theLength = length; this.shift = shift; this.reverse = reverse; } //constructor public serText(string inputText, int start, int length, bool theWorks) { theText = inputText; startIndex = start; theLength = length; if (theWorks) { this.shift = true; this.reverse = true; } } private string theText; public string TheText { get { return theText; } set { theText = value; } } private int startIndex; public int StartIndex { get { return startIndex; } set { startIndex = value; } } private int theLength; public int TheLength { get { return theLength; } set { theLength = value; } } private bool reverse; public bool Reverse { get { return reverse; } set { reverse = value; } } private bool shift; public bool Shift { get { return shift; } set { shift = value; } } } }
Initial URL
Initial Description
Initial Title
Text Obfuscation - Part I of II
Initial Tags
text
Initial Language
C#