src/constants.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 26
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 0
c 1
b 0
f 0
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 26
rs 10
bpm 0
cpm 0
noi 0
1
export const DEFAULT_SEED = 'MPSJKMDHAI';
2
3
export const TABLE1 = [
4
    [15, 15, 24, 20, 24],
5
    [13, 14, 27, 32, 10],
6
    [29, 14, 32, 29, 24],
7
    [23, 32, 24, 29, 29],
8
    [14, 29, 10, 21, 29],
9
    [34, 27, 16, 23, 30],
10
    [14, 22, 24, 17, 13]
11
];
12
13
export const TABLE2 = [
14
    [0, 1, 2, 9, 3, 4, 5, 6, 7, 8],
15
    [1, 4, 3, 9, 0, 7, 8, 2, 5, 6],
16
    [7, 2, 8, 9, 4, 1, 6, 0, 3, 5],
17
    [6, 3, 5, 9, 1, 8, 2, 7, 4, 0],
18
    [4, 7, 0, 9, 5, 2, 3, 1, 8, 6],
19
    [5, 6, 1, 9, 8, 0, 4, 3, 2, 7]
20
];
21
22
export const ALPHANUM = [
23
    '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D',
24
    'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
25
    'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'
26
];
27