Friday, 15 December 2017
RankTest.java (2nd part) (Rank random number test Java source code file) Print E-mail
Get C++ DiceLock cipher architecture source code packages of DiceLock for Microsoft Visual Studio 2013 and DiceLock-x for Linux with Test Driver Programs and Response Test Vector files to verify that both them work as expected.
DiceLock for Windows and Linux
DiceLock Security governing software licenses are Free/Libre Source Code License and Educational and Research License

DiceLock is protected by US patent 7508945 and European Patent 1182777 where applicable.

DiceLock and DiceLock logo are trademarks or registered trademarks in the EC, USA and others.

License information can be obtained at our corporate web site




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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
 
    /**
     * Initializes the object
     *
     */
    public void Initialize() {
 
        super.Initialize();
        this.chiSquared = 0.0;
        this.matrixNumber = 0;
        this.bitsDiscarded = 0;
        this.p30 = 0.0;
        this.p31 = 0.0;
        this.p32 = 0.0;
        this.f30 = 0.0;
        this.f31 = 0.0;
        this.f32 = 0.0;
    }
 
    /**
     * Gets the type of the object
     *
     * @return    RandomTests:     the concrete type class of the random number test, Rank test for this class
     */
    public RandomTests GetType() {
 
        return RankTest.TEST;
    }
 
    /**
     * Gets the minimum random stream length
     *
     * @return    int:    minimum length in bits of streams that can be checked by this test
     */
    public int GetMinimumLength() {
 
        return RankTest.MINIMUMLENGTH;
    }
 
    /**
     * Gets the "chiSquared" result
     *
     * @return    double:   "chiSquared" result
     */
    public double GetChiSquared() {
 
        return this.chiSquared;
    }
 
    /**
     * Gets the "matrixNumber" result
     *
     * @return    int:   "matrixNumber" result, number of 32 x 32 byte matrixes that divides bit stream
     */
    public int GetMatrixNumber() {
 
        return this.matrixNumber;
    }
 
    /**
     * Gets the "bitsDiscarded" result
     *
     * @return    int:   "bitsDiscarded" result, bit stream number of bits that have not been tested
     */
    public int GetBitsDiscarded() {
 
        return this.bitsDiscarded;
    }
 
    /**
     * Gets the "p30" result
     *
     * @return    double:   "p30" probability result
     */
    public double GetP30() {
 
        return this.p30;
    }
 
    /**
     * Gets the "p31" result
     *
     * @return    double:   "p31" probability result
     */
    public double GetP31() {
 
        return this.p31;
    }
 
    /**
     * Gets the "p32" result
     *
     * @return    double:   "p32" probability result
     */
    public double GetP32() {
 
        return this.p32;
    }
 
    /**
     * Gets the "f30" result
     *
     * @return    double:   "f30" frequency result
     */
    public double GetF30() {
 
        return this.f30;
    }
 
    /**
     * Gets the "f31" result
     *
     * @return    double:   "f31" frequency result
     */
    public double GetF31() {
 
        return this.f31;
    }
 
    /**
     * Gets the "f32" result
     *
     * @return    double:   "f32" frequency result
     */
    public double GetF32() {
 
        return this.f32;
    }
 
}