Leet (or "1337"), also known as eleet or leetspeak, is an alternative alphabet for many languages that is used primarily on the Internet. It uses some characters to replace others in ways that play on the similarity of their glyphs via reflection or other resemblance. For example, leet spellings of the word leet include 1337 and l33t; eleet may be spelled 31337 or 3l33t.
The term leet is derived from the word elite. The leet alphabet is a specialized form of symbolic writing. Leet may also be considered a substitution cipher, although many dialects or linguistic varieties exist in different online communities. The term leet is also used as an adjective to describe formidable prowess or accomplishment, especially in the fields of online gaming and in its original usage—computer hacking.
Leet originated within bulletin board systems (BBS) in the 1980s, where having "elite" status on a BBS allowed a user access to file folders, games, and special chat rooms. The Cult of the Dead Cow hacker collective has been credited with the original coining of the term, in their text-files of that era. One theory is that it was developed to defeat text filters created by BBS or Internet Relay Chat system operators for message boards to discourage the discussion of forbidden topics, like cracking and hacking. Creative misspellings and ASCII-art-derived words were also a way to attempt to indicate one was knowledgeable about the culture of computer users. Once the reserve of hackers, crackers, and script kiddies, leet has since entered the mainstream.[1] It is now also used to mock newbies, or newcomers, on web sites, or in gaming communities. Some consider emoticons and ASCII art, like smiley faces, to be leet, while others maintain that leet consists of only symbolic word encryption. More obscure forms of leet, involving the use of symbol combinations and almost no letters or numbers, continue to be used for its original purpose of encrypted communication. It is also sometimes used as a script language. Variants of leet have been used for censorship purposes for many years; for instance "@$$" (ass) and "$#!+" (shit) are frequently seen to make a word appear censored to the untrained eye but obvious to a person familiar with leet.
Leet symbols, especially the number 1337, are Internet memes that have spilled over into popular culture. Signs that show the numbers "1337" are popular motifs for pictures and shared widely across the Internet.
/// project: Leet
/// type: com
/// Dated: 22 Aug 2008
/// Remarks: It converts a plain string to Leet text.. make objects Leet l = new Leet();
/// Public Methods: LowerLEET(),MediumLEET(),ExtremeLEET(),UpsideDOWN()
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace killercodes.leetTyping
{
class Leet
{
//Array Declaration
string[] arr = new string[] {
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p",
"q", "r", "s", "t", "u", "v", "w", "x", "y", "z", ".", " ", "[", "]" };
string[] larr = new string[] {
"4", "8", "(", "d", "3", "f", "9", "#", "!", "j", "k", "1", "m", "~", "0", "p",
"q", "r", "5", "7", "u", "v", "w", "*", "y", "2", ".", " ", "[", "]" };
string[] Marr = new string[] {
"/\\", "I3", "(", "|)", "3", "|=", "6", "|-|", "|", "_|", "|<", "|_", "]\\/[",
"]\\[", "0", "9", "(,)", "|2", "5", "+", "|_|", "\\/", "|/\\|", "><", "\\-/", "2", ".", " ", "[", "]" };
string[] Earr = new string[] {
"@", "ß", "©", "Đ", "Ǝ", "Ƒ", "ĝ", "Ħ", "Ï", "ĵ", "Ķ", "|", "ɰ", "¶", "Φ", "Þ",
"ƍ", "®", "5", "+", "µ", "▼", "Ш", "Ж", "¥", "2", ".", " ", "[", "]" };
string[] UDarr = new string[] {
"ɐ", "q", "ɔ", "p", "ǝ", "ɟ", "ƃ", "ɥ", "ı", "ɾ", "ʞ", "ן", "ɯ", "u",
"o", "d", "b", "ɹ", "s", "ʇ", "n", "Λ", "ʍ", "x", "ʎ", "z", ".", " ", "]", "[" };
// Makes a Lower LEET function
public string LowerLEET(string plaintext)
{
string RESULT = "";
if (plaintext.Length <= 0)
{
RESULT = "Not enough parameter\nUnable to Continue..";
}
else
{
foreach (char ch in plaintext)
{
if (Convert.ToInt32(ch) == Convert.ToInt32(ConsoleKey.Enter))
{ RESULT = RESULT + "\r\n"; }
for (int c = 0; c < arr.Length; c++)
{
if (ch.ToString() == arr[c])
RESULT = RESULT + larr[c];
}
}
}
return RESULT;
}//LwLEET
// Makes a Lower XlwLEET function
public string XLowerLEET(string chipertext)
{
string RESULT = "";
if (chipertext.Length <= 0)
{
RESULT = "Not enough parameter\nUnable to Continue..";
}
else
{
foreach (char ch in chipertext)
{
for (int c = 0; c < larr.Length; c++)
{
if (ch.ToString() == larr[c])
RESULT = RESULT + arr[c];
}
}
}
return RESULT;
}
// Makes a Medium LEET function
public string MediumLEET(string plaintext)
{
string RESULT = "";
if (plaintext.Length <= 0)
{
RESULT = "Not enough parameter\nUnable to Continue..";
}
else
{
foreach (char ch in plaintext)
{
if (Convert.ToInt32(ch) == Convert.ToInt32(ConsoleKey.Enter))
{ RESULT = RESULT + "\r\n"; }
for (int c = 0; c < arr.Length; c++)
{
if (ch.ToString() == arr[c])
RESULT = RESULT + Marr[c];
}
}
}
return RESULT;
}//MdLEET
// Makes a string upside down
public string UpsideDOWN(string chipertext)
{
string RESULT = "";
foreach (char ch in chipertext)
{
bool ENTER = false;
bool FOUND = false;
//int c=0;
//string r = "",a,x;
int c = 0, gp, tmp = 1;
gp = Convert.ToInt32(ch);
if (gp == 13)
{ ENTER = true; }
else
{ ENTER = false; }
for (; c < arr.Length; c++) //while (c < arr.Length)
{
//a = arr[c];
//x = ch.ToString();
//test = ch.ToString().Equals(arr[c]);
if (ch.ToString() == arr[c])
{
//r = UDarr[c];
RESULT = UDarr[c] + RESULT;
FOUND = true;
}
tmp = c;
//RESULT = r + RESULT;
//c++;
}
if (ENTER == true)
{ RESULT = "\r\n" + RESULT; }
//if (FOUND == false)
//{ RESULT = arr[tmp] + RESULT; }
}
//}
return RESULT;
}//Upside Down
// Makes a Extreme LEET function
public string ExtremeLEET(string plaintext)
{
//bool ENTER = false;
string RESULT = "";
if (plaintext.Length <= 0)
{
RESULT = "Not enough parameter\nUnable to Continue..";
}
else
{
foreach (char ch in plaintext)
{
//int GK = Convert.ToInt32(ch);
if (Convert.ToInt32(ch) == Convert.ToInt32(ConsoleKey.Enter))
{ RESULT = RESULT + "\r\n"; }
int c = 0;
for (; c < arr.Length; c++)
{
if (ch.ToString() == arr[c])
{
RESULT = RESULT + Earr[c];
//ENTER = false;
}
}
}
}
return RESULT;
}//ExLEET
}
}