innitheblindsw Posted August 16, 2021 Share Posted August 16, 2021 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; } Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 16, 2021 Moderators Share Posted August 16, 2021 @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! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now