今天突然想起以前的一张 java 合租图片梗,电话号码是代码,然后脑抽就写了个自己的唯一指定链接
static void Main()
{
string[] a = new string[] {"o","-","z","u","m","c","@",".","t","a","k","l"};
int[] b = new int[] {9,1,2,3,4,0,6,0,3,8,11,0,0,10,7,5,0,4 };
Console.Write("Email:");
for (int i = 0; i <= b.Length - 1; i++)
{
int c = b[i];
Console.Write(a[c]);
}
Console.ReadKey();
}
1
zjsxwc 2017-08-05 15:18:04 +08:00
随手转成 js。。
var a = ["o","-","z","u","m","c","@",".","t","a","k","l"]; var b = [9,1,2,3,4,0,6,0,3,8,11,0,0,10,7,5,0,4]; var email = ""; for (var i = 0; i <= b.length - 1; i++){ var c = b[i]; email += a[c]; } console.log(email); |
2
Azumo OP 万用格式 233
|
3
pia 2017-08-05 15:39:57 +08:00
唯一指定链接是什么?正在学 python。。
a = '[email protected]' b = [9,1,2,3,4,0,6,0,3,8,11,0,0,10,7,5,0,4] email = '' for i in range(len(b)):email+=a[b[i]] print(email) |
4
lzhr 2017-08-05 15:50:28 +08:00 1
|
5
whileFalse 2017-08-05 15:58:37 +08:00
请问这是什么语言。
|
6
blanu 2017-08-05 16:02:18 +08:00
用人脑就能解密了= =,好歹加个 Base64 啥的
|
7
Azumo OP c#
|
8
Azumo OP @whileFalse C#
|
9
u5f20u98de 2017-08-05 17:16:46 +08:00
func main(){
a:=[]string{"o","-","z","u","m","c","@",".","t","a","k","l"} b:=[]int{9,1,2,3,4,0,6,0,3,8,11,0,0,10,7,5,0,4 } for _,num:=range b{ print(a[num]) } } |
10
sobigfish 2017-08-05 18:15:41 +08:00
@lzhr #4 所以你就直接让其把楼主的 email 记住了😂
在 pc/手机 方便选择复制的话应该还是 js 的 (直接写成 url 的模式?但 chrome 里复制会把 javascript:自动去除) minify by javascript-minifier.com(不清楚写法稳妥不) javascript:for(var a=["o","-","z","u","m","c","@",".","t","a","k","l"],b=[9,1,2,3,4,0,6,0,3,8,11,0,0,10,7,5,0,4],email="",i=0;i<=b.length-1;i++){var c=b[i];email+=a[c]}document.write(email); |
11
chenyu0532 2017-08-05 18:33:15 +08:00
好吧。。仅当娱乐贴。。。
|