Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string ShiftString(int shift)
- {
- string output = "";
- foreach(byte b in System.Text.Encoding.ASCII.GetBytes(originalString))
- {
- output += System.Text.Encoding.ASCII.GetString(b+shift);
- }
- return output;
- }
Advertisement
Add Comment
Please, Sign In to add comment