Jump to content

Recommended Posts

Posted

 public string DecriptCad(string value)
{
    string str = "";
    int startIndex = 0;
    value.Trim();
    int length = value.Length;
    while (startIndex < length)
    {
        string s = value.Substring(startIndex, 1);
        char ch = (char) (Encoding.ASCII.GetBytes(s)[0] ^ 0x7f);
        str = str + ch;
        startIndex++;
    }
    return str;
}

  • Moderators
Posted

@innitheblindsw This forum is dedicated to helping people with their own code; it is not a drive-through where you put in an order and someone serves you ready-made code. Post what you have tried on your own, as well as what is/isn't working for you.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...