Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correction to parities lists #652

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
205 changes: 103 additions & 102 deletions src/components/parities.js
Original file line number Diff line number Diff line change
@@ -1,107 +1,108 @@

let parities = [
// Medium
[
2, // For chunk 1
3, 3, 3, 3, // For chunks 2-5
4, 4, 4, 4, 4, 4, 4, 4, 4, // For chunks 6-14
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, // For chunks 15-28
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, // For chunks 29-46
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // For chunks 47-68
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, // For chunks 69-94
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 // For chunks 95-119
],
// Strong
[
4, // For chunk 1
5, 5, // For chunks 2-3
6, 6, 6, // For chunks 4-6
7, 7, 7, 7, // For chunks 7-10
8, 8, 8, 8, 8, // For chunks 11-15
9, 9, 9, 9, 9, // For chunks 16-20
10, 10, 10, 10, 10, 10, // For chunks 21-26
11, 11, 11, 11, 11, 11, // For chunks 27-32
12, 12, 12, 12, 12, 12, 12, // For chunks 33-39
13, 13, 13, 13, 13, 13, 13, // For chunks 40-46
14, 14, 14, 14, 14, 14, 14, // For chunks 47-53
15, 15, 15, 15, 15, 15, 15, 15, // For chunks 54-61
16, 16, 16, 16, 16, 16, 16, 16, // For chunks 62-69
17, 17, 17, 17, 17, 17, 17, 17, // For chunks 70-77
18, 18, 18, 18, 18, 18, 18, 18, 18, // For chunks 78-86
19, 19, 19, 19, 19, 19, 19, 19, // For chunks 87-95
20, 20, 20, 20, 20, 20, 20, 20, 20, // For chunks 96-104
21, 21, 21, // For chunks 105-107
],
// Insane
[
5, // For chunk 1
6, // For chunk 2
7, // For chunk 3
8, 8, // For chunks 4-5
9, 9, 9, // For chunks 6-8
10, 10, // For chunks 9-10
11, 11, 11, // For chunks 11-13
12, 12, 12, // For chunks 14-16
13, 13, 13, // For chunks 17-19
14, 14, 14, // For chunks 20-22
15, 15, 15, 15, // For chunks 23-26
16, 16, 16, // For chunks 27-29
17, 17, 17, 17, // For chunks 30-33
18, 18, 18, 18, // For chunks 34-37
19, 19, 19, 19, // For chunks 38-41
20, 20, 20, 20, // For chunks 42-45
21, 21, 21, 21, 21, // For chunks 46-50
22, 22, 22, 22, // For chunks 51-54
23, 23, 23, 23, 23, // For chunks 55-59
24, 24, 24, 24, // For chunks 60-63
25, 25, 25, 25, 25, // For chunks 64-68
26, 26, 26, 26, 26, // For chunks 69-73
27, 27, 27, 27, // For chunks 74-77
28, 28, 28, 28, 28, // For chunks 78-82
29, 29, 29, 29, 29, // For chunks 83-87
30, 30, 30, 30, 30, // For chunks 88-92
31, 31, 31, 31, 31 // For chunks 93-97
],
// Paranoid
[
19, // For chunk 1
23, // For chunk 2
26, // For chunk 3
29, // For chunk 4
31, // For chunk 5
34, // For chunk 6
36, // For chunk 7
38, // For chunk 8
40, // For chunk 9
43, // For chunk 10
45, // For chunk 11
47, // For chunk 12
48, // For chunk 13
50, // For chunk 14
52, // For chunk 15
54, // For chunk 16
56, // For chunk 17
58, // For chunk 18
59, // For chunk 19
61, // For chunk 20
63, // For chunk 21
65, // For chunk 22
66, // For chunk 23
68, // For chunk 24
70, // For chunk 25
71, // For chunk 26
73, // For chunk 27
75, // For chunk 28
76, // For chunk 29
78, // For chunk 30
80, // For chunk 31
81, // For chunk 32
83, // For chunk 33
84, // For chunk 34
86, // For chunk 35
87, // For chunk 36
89 // For chunk 37
]
// Medium
[
2, // For chunk 1
3, 3, 3, 3, // For chunks 2-5
4, 4, 4, 4, 4, 4, 4, 4, 4, // For chunks 6-14
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, // For chunks 15-28
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, // For chunks 29-46
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // For chunks 47-68
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, // For chunks 69-94
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 // For chunks 95-119
],
// Strong
[
4, // For chunk 1
5, 5, // For chunks 2-3
6, 6, 6, // For chunks 4-6
7, 7, 7, 7, // For chunks 7-10
8, 8, 8, 8, 8, // For chunks 11-15
9, 9, 9, 9, 9, // For chunks 16-20
10, 10, 10, 10, 10, 10, // For chunks 21-26
11, 11, 11, 11, 11, 11, // For chunks 27-32
12, 12, 12, 12, 12, 12, 12, // For chunks 33-39
13, 13, 13, 13, 13, 13, 13, // For chunks 40-46
14, 14, 14, 14, 14, 14, 14, // For chunks 47-53
15, 15, 15, 15, 15, 15, 15, 15, // For chunks 54-61
16, 16, 16, 16, 16, 16, 16, 16, // For chunks 62-69
17, 17, 17, 17, 17, 17, 17, 17, // For chunks 70-77
18, 18, 18, 18, 18, 18, 18, 18, 18, // For chunks 78-86
19, 19, 19, 19, 19, 19, 19, 19, 19, // For chunks 87-95
20, 20, 20, 20, 20, 20, 20, 20, 20, // For chunks 96-104
21, 21, 21, // For chunks 105-107
],
// Insane
[
5, // For chunk 1
6, // For chunk 2
7, // For chunk 3
8, 8, // For chunks 4-5
9, 9, 9, // For chunks 6-8
10, 10, // For chunks 9-10
11, 11, 11, // For chunks 11-13
12, 12, 12, // For chunks 14-16
13, 13, 13, // For chunks 17-19
14, 14, 14, // For chunks 20-22
15, 15, 15, 15, // For chunks 23-26
16, 16, 16, // For chunks 27-29
17, 17, 17, 17, // For chunks 30-33
18, 18, 18, 18, // For chunks 34-37
19, 19, 19, 19, // For chunks 38-41
20, 20, 20, 20, // For chunks 42-45
21, 21, 21, 21, 21, // For chunks 46-50
22, 22, 22, 22, // For chunks 51-54
23, 23, 23, 23, 23, // For chunks 55-59
24, 24, 24, 24, // For chunks 60-63
25, 25, 25, 25, 25, // For chunks 64-68
26, 26, 26, 26, 26, // For chunks 69-73
27, 27, 27, 27, // For chunks 74-77
28, 28, 28, 28, 28, // For chunks 78-82
29, 29, 29, 29, 29, // For chunks 83-87
30, 30, 30, 30, 30, // For chunks 88-92
31, 31, 31, 31, 31 // For chunks 93-97
],
// Paranoid
[
19, // For chunk 1
23, // For chunk 2
26, // For chunk 3
29, // For chunk 4
31, // For chunk 5
34, // For chunk 6
36, // For chunk 7
38, // For chunk 8
40, // For chunk 9
43, // For chunk 10
45, // For chunk 11
47, // For chunk 12
48, // For chunk 13
50, // For chunk 14
52, // For chunk 15
54, // For chunk 16
56, // For chunk 17
58, // For chunk 18
59, // For chunk 19
61, // For chunk 20
63, // For chunk 21
65, // For chunk 22
66, // For chunk 23
68, // For chunk 24
70, // For chunk 25
71, // For chunk 26
73, // For chunk 27
75, // For chunk 28
76, // For chunk 29
78, // For chunk 30
80, // For chunk 31
81, // For chunk 32
83, // For chunk 33
84, // For chunk 34
86, // For chunk 35
87, // For chunk 36
89, // For chunk 37
90 // For chunk 38
]

]

Expand Down
162 changes: 80 additions & 82 deletions src/components/paritiesEncrypted.js
Original file line number Diff line number Diff line change
@@ -1,87 +1,85 @@

let parities = [
// Medium
[
3, 3, // For chunks 1-2
4, 4, 4, 4, 4, // For chunks 3-7
5, 5, 5, 5, 5, 5, 5, // For chunks 8-14
6, 6, 6, 6, 6, 6, 6, 6, 6, // For chunks 15-23
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // For chunks 24-34
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, // For chunks 35-47
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // For chunks 48-59
],
// Strong
[
5,
6, 6,
7, 7,
8, 8,
9, 9, 9,
10, 10, 10, 10,
11, 11, 11,
12, 12, 12,
13, 13, 13, 13,
14, 14, 14,
15, 15, 15, 15,
16, 16, 16, 16,
17, 17, 17, 17,
18, 18, 18, 18, 18,
19, 19, 19, 19,
20, 20, 20, 20, 20,
21
],
// Insane
[
6,
8,
9, 9,
10,
11,
12, 12,
13, 14,
14,
15, 15,
16,
17, 17,
18, 18,
19, 19,
20, 20,
21, 21, 21,
22, 22,
23, 23,
24, 24,
25, 25, 25,
26, 26,
27, 27,
28, 28, 28,
29, 29,
30, 30, 30,
31, 31
],
// Paranoid
[
23,
29,
34,
38,
43,
47,
50,
54,
58,
61,
65,
68,
71,
75,
78,
81,
84,
87
]



// Medium
[
3, 3, // For chunks 1-2
4, 4, 4, 4, 4, // For chunks 3-7
5, 5, 5, 5, 5, 5, 5, // For chunks 8-14
6, 6, 6, 6, 6, 6, 6, 6, 6, // For chunks 15-23
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // For chunks 24-34
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, // For chunks 35-47
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // For chunks 48-59
],
// Strong
[
5, // For chunk 1
6, 6, // For chunks 2-3
7, 7, // For chunks 4-5
8, 8, // For chunks 6-7
9, 9, 9, // For chunks 8-10
10, 10, 10, // For chunks 11-13
11, 11, 11, // For chunks 14-16
12, 12, 12, // For chunks 17-19
13, 13, 13, 13, // For chunks 20-23
14, 14, 14, // For chunks 24-26
15, 15, 15, 15, // For chunks 27-30
16, 16, 16, 16, // For chunks 31-34
17, 17, 17, 17, // For chunks 35-38
18, 18, 18, 18, 18, // For chunks 39-43
19, 19, 19, 19, // For chunks 44-47
20, 20, 20, 20, 20, // For chunks 48-52
21 // For chunk 53
],
// Insane
[
6, // For chunk 1
8, // For chunk 2
9, 9, // For chunks 3-4
10, // For chunk 5
11, // For chunk 6
12, 12, // For chunks 7-8
13, // For chunk 9
14, 14, // For chunks 10-11
15, 15, // For chunks 12-13
16, // For chunk 14
17, 17, // For chunks 15-16
18, 18, // For chunks 17-18
19, 19, // For chunks 19-20
20, 20, // For chunks 21-22
21, 21, 21, // For chunks 23-25
22, 22, // For chunks 26-27
23, 23, // For chunks 28-29
24, 24, // For chunks 30-31
25, 25, 25, // For chunks 32-34
26, 26, // For chunks 35-36
27, 27, // For chunks 37-38
28, 28, 28, // For chunks 39-41
29, 29, // For chunks 42-43
30, 30, 30, // For chunks 44-46
31, 31 // For chunks 47-48
],
// Paranoid
[
23, // For chunk 1
29, // For chunk 2
34, // For chunk 3
38, // For chunk 4
43, // For chunk 5
47, // For chunk 6
50, // For chunk 7
54, // For chunk 8
58, // For chunk 9
61, // For chunk 10
65, // For chunk 11
68, // For chunk 12
71, // For chunk 13
75, // For chunk 14
78, // For chunk 15
81, // For chunk 16
84, // For chunk 17
87, // For chunk 18
90 // For chunk 19
]
]

export default parities
Loading