-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcipher.js
More file actions
92 lines (88 loc) · 1.19 KB
/
Copy pathcipher.js
File metadata and controls
92 lines (88 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
const c = {
111: "A",
112: "B",
113: "C",
121: "D",
122: "E",
123: "F",
131: "G",
132: "H",
133: "I",
211: "J",
212: "K",
213: "L",
221: "M",
222: "N",
223: "O",
231: "P",
232: "Q",
233: "R",
311: "S",
312: "T",
313: "U",
321: "V",
322: "W",
323: "X",
331: "Y",
332: "Z",
333: "*",
0: " ",
117: ".",
227: "?",
337: "!",
127: ",",
217: "-",
237: ";",
317: ":",
711: "@",
712: "#",
713: "/",
721: "%",
722: "¤",
723: "\\",
171: "'",
272: '"',
811: "+",
812: "_",
813: "*",
821: "÷",
822: "=",
823: "^",
};
let cipher = c;
const newCipher = {
118: "0",
181: "1",
182: "2",
183: "3",
281: "4",
282: "5",
283: "6",
381: "7",
382: "8",
383: "9",
}
const oldCipher = {
18: "0",
118: "1",
128: "2",
138: "3",
218: "4",
228: "5",
238: "6",
318: "7",
328: "8",
338: "9",
};
const numberCipher = {
"0": ["1", "0", "0", "0"],
"1": ["0", "0", "0", "1"],
"2": ["0", "0", "1", "0"],
"3": ["0", "1", "0", "0"],
"4": ["0", "1", "0", "1"],
"5": ["0", "1", "1", "0"],
"6": ["0", "1", "1", "1"],
"7": ["1", "1", "0", "0"],
"8": ["1", "1", "0", "1"],
"9": ["1", "1", "1", "0"],
}