-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRainbowTable.c
82 lines (72 loc) · 3.78 KB
/
RainbowTable.c
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
/**
* What? What WAS I supposed to call it?
*/
const unsigned short rainbowTable[256] =
{
0x089F,0x089F,0x08BF,0x0CDF,0x0CFF,0x0D1F,0x091F,0x093F,
0x095F,0x0D7F,0x0D9F,0x09BF,0x09BF,0x09DF,0x0DFF,0x0A1F,
0x0A1F,0x0E3F,0x0E5F,0x065F,0x067F,0x0A7F,0x0E9F,0x0E9F,
0x06BF,0x0ABF,0x0EDF,0x0EFF,0x06FF,0x06FF,0x0B1F,0x0F3F,
0x033F,0x075F,0x0B5F,0x0F7F,0x037F,0x079F,0x0BBF,0x0FBF,
0x03BF,0x07DF,0x0FFF,0x03FF,0x03FF,0x03FF,0x0FFE,0x0BFE,
0x0BFD,0x07FC,0x03FB,0x03FA,0x0FFA,0x0FF9,0x0BF8,0x07F7,
0x07F6,0x03F5,0x03F4,0x0FF4,0x0FF3,0x0BF2,0x0BF0,0x07EF,
0x03EE,0x03EC,0x03EB,0x0FEA,0x0FE8,0x0BE5,0x0FE8,0x1BE3,
0x13E0,0x23E2,0x1BE0,0x2FE3,0x27E0,0x2BE0,0x33E1,0x3BE4,
0x37E0,0x3FE1,0x3BE0,0x47E3,0x43E0,0x4BE4,0x47E0,0x47E0,
0x53E5,0x4BE0,0x4FE2,0x57E2,0x53E0,0x5BE3,0x5BE0,0x5FE0,
0x63E3,0x67E5,0x67E0,0x6BE2,0x6FE5,0x6FE0,0x6FE0,0x73E4,
0x73E0,0x77E0,0x7BE2,0x7FE0,0x7FE4,0x7FE0,0x7FE5,0x7FE0,
0x7FC4,0x7FC0,0x7FA4,0x7FA0,0x7F83,0x7F80,0x7F62,0x7F83,
0x7F62,0x7F61,0x7F40,0x7F46,0x7F20,0x7F25,0x7F00,0x7F24,
0x7F00,0x7F03,0x7EE1,0x7EE2,0x7EC0,0x7EC0,0x7EA0,0x7EC5,
0x7E80,0x7EA3,0x7EA2,0x7E60,0x7E85,0x7E41,0x7E20,0x7E64,
0x7E63,0x7E20,0x7E00,0x7E00,0x7E23,0x7E44,0x7DE0,0x7DC0,
0x7DE3,0x7E04,0x7DA0,0x7DA2,0x7D80,0x7DC4,0x7D60,0x7D83,
0x7D40,0x7D41,0x7DA5,0x7D20,0x7D64,0x7D22,0x7CE0,0x7D44,
0x7CC0,0x7D02,0x7D25,0x7C80,0x7CE3,0x7CE5,0x7CA3,0x7CC5,
0x7C63,0x7C64,0x7C64,0x7C85,0x7C46,0x7C49,0x7C49,0x7C49,
0x7C6B,0x7C4B,0x7C6C,0x7C6D,0x7C4E,0x7C4F,0x7C50,0x7C70,
0x7C71,0x7C52,0x7C52,0x7C74,0x7C53,0x7C75,0x7C35,0x7C56,
0x7C57,0x7C77,0x7C38,0x7C38,0x7C59,0x7C7A,0x7C3B,0x7C5B,
0x7C7C,0x7C7C,0x7C3D,0x7C5E,0x7C7E,0x7C1F,0x7C1F,0x7C7F,
0x785F,0x743F,0x701F,0x707F,0x6C5F,0x683F,0x681F,0x687F,
0x647F,0x605F,0x5C3F,0x581F,0x587F,0x545F,0x505F,0x4C3F,
0x4C3F,0x481F,0x487F,0x447F,0x405F,0x405F,0x3C3F,0x383F,
0x383F,0x347F,0x307F,0x2C7F,0x2C5F,0x285F,0x245F,0x245F,
0x205F,0x1C3F,0x183F,0x183F,0x143F,0x101F,0x107F,0x0C7F,
};
const unsigned short rainbowTableNotRainbow[256] = {
0x7F00,0x7F03,0x7EE1,0x7EE2,0x7EC0,0x7EC0,0x7EA0,0x7EC5,
0x7E80,0x7EA3,0x7EA2,0x7E60,0x7E85,0x7E41,0x7E20,0x7E64,
0x7E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