Cipher CTF Challenge Generator (Inverse text)Press the blue button to regenerate a challenge. This page will generate an inverse text challenge. |
Coding
The code used is:
public static string getBack(string s) { s = s.ToLower(); string rtn = ""; s = Reverse(s); string[] mapping = { "ɐ", "q", "ɔ", "p", "ǝ", "ɟ", "ƃ", "ɥ", "ᴉ", "ɾ", "ʞ", "l", "ɯ", "u", "o", "d","b","ɹ","s","ʇ","n","ʌ", "ʍ", "x", "ʎ","z" }; foreach (char ch in s) { int val = ((int)ch - (int)'a'); try { if (ch == ' ') rtn = rtn + ch; else rtn = rtn + mapping[val]; } catch (Exception ex) { } } return (rtn); }