August 2014
S M T W T F S
« Jul    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Recent Posts

XDiceLock 7.0.0.1 for Apple Mac OS X, DecreaseBase0IndexModifier_6_0_0_1 class (DecreaseBase0IndexModifier 6.0.0.1 key modifier) verified with One byte key modification test set and PhysicalCryptoRandomStream class (memory pages kept in RAM, not swapped to file)

XDiceLock 7.0.0.1 for Apple Mac OS X is the cryptographic architecture that ensures that ciphertext it’s not just encrypted but also randomized.

DiceLock cipher architecture presents two main configurations:
Dicelock Digested, and
Dicelock Indexed.

DiceLock encryption architecture improves symmetric ciphers like block cipher as Advanced Encryption Standard (AES 128, AES 192 and AES 256) with different block cipher operation modes and stream ciphers as HC 128 and HC 256 and others.

DiceLock (both configurations) makes use of the following random number tests: Frequency Test, Block Frequency Test, Cumulative Sum Forward Test, Cumulative Sum Reverse Test, Runs Test, Longest Run Of Ones Test, Rank Test, Universal Test, Approximate Entropy Test, Serial Test and Discrete Fourier Transform Test.

Additionally DiceLock Digested configuration makes use currently of following hash digest algorithms: Sha 1, Sha 224, Sha 256, Sha 384, Sha 512, Ripemd 128, Ripemd 160, Ripemd 256 and Ripemd 320.

As the new version XDiceLock 7.0.0.1 for Apple Mac OS X is developed, all individual components must be tested and verified, and in this article we verify DecreaseBase0IndexModifier 6.0.0.1 class (computing DecreaseBase0IndexModifier 6.0.0.1 symmetric key modifier algorithm).

Symmetric key modification is a crucial point of DiceLock architecture, cause determines which new key will be used in next re-encryption (if current encryption does not provide randomized ciphertext) of same plaintext in order to get a verified randomized-encrypted text sequence.

At the bottom of the post you can find C++ source code being used to perform this test.


Verified XDiceLock 7.0.0.1 for Apple Mac OS X

Verification components:

– Symmetric key modifier algorithm test: DecreaseBase0IndexModifier_6_0_0_1 class
– Bit stream memory management: PhysicalCryptoRandomStream class (memory pages kept in RAM, not swapped to file)

Memory characteristic used in this test:

PhysicalCryptoRandomStream class makes use of AWE (Address Windowing Extensions) that uses physical nonpaged memory, so memory is not swapped to hard disk.
In order to use PhysicalCryptoRandomStream class, which works with AWE it requires that “Lock Pages In Memory” Windows security setting policy permission must be granted in “Local Policy Settings” to the account executing the program, and in some versions the program must have “Run this program as an administrator” “Privilege Level” option checked.

 

In this test we set:

Original key: initial user symmetric key as usually known in cryptographic technology.
Symmetric key length in bytes: symmetric key length.
Function call number: DecreaseBase0IndexModifier 6.0.0.1 key modification call number.
Index: index to apply to”original key” in order to get modified symmetric key.
Expected symmetric key: next expected symmetric key when DecreaseBase0IndexModifier 6.0.0.1 key modification has been applied once more to “original key”.
Next symmetric key: obtained symmetric key when DecreaseBase0IndexModifier 6.0.0.1 key modification has been applied once more.

Original key: 00 00 66 77
Symmetric key length in bytes: 4

Once computed we’ve got the following result:

Function call number Index Expected symmetric key Next computed symmetric key Result
1 ff ff ff ff ff 65 78 ff ff 65 78 OK
2 fe ff ff fe ff 65 78 fe ff 65 78 OK
3 fd ff ff fd ff 65 78 fd ff 65 78 OK
4 fc ff ff fc ff 65 78 fc ff 65 78 OK
5 fb ff ff fb ff 65 78 fb ff 65 78 OK
6 fa ff ff fa ff 65 78 fa ff 65 78 OK
7 f9 ff ff f9 ff 65 78 f9 ff 65 78 OK
8 f8 ff ff f8 ff 65 78 f8 ff 65 78 OK
9 f7 ff ff f7 ff 65 78 f7 ff 65 78 OK
10 f6 ff ff f6 ff 65 78 f6 ff 65 78 OK
11 f5 ff ff f5 ff 65 78 f5 ff 65 78 OK
12 f4 ff ff f4 ff 65 78 f4 ff 65 78 OK
13 f3 ff ff f3 ff 65 78 f3 ff 65 78 OK
14 f2 ff ff f2 ff 65 78 f2 ff 65 78 OK
15 f1 ff ff f1 ff 65 78 f1 ff 65 78 OK
16 f0 ff ff f0 ff 65 78 f0 ff 65 78 OK
17 ef ff ff ef ff 65 78 ef ff 65 78 OK
18 ee ff ff ee ff 65 78 ee ff 65 78 OK
19 ed ff ff ed ff 65 78 ed ff 65 78 OK
20 ec ff ff ec ff 65 78 ec ff 65 78 OK
21 eb ff ff eb ff 65 78 eb ff 65 78 OK
22 ea ff ff ea ff 65 78 ea ff 65 78 OK
23 e9 ff ff e9 ff 65 78 e9 ff 65 78 OK
24 e8 ff ff e8 ff 65 78 e8 ff 65 78 OK
25 e7 ff ff e7 ff 65 78 e7 ff 65 78 OK
26 e6 ff ff e6 ff 65 78 e6 ff 65 78 OK
27 e5 ff ff e5 ff 65 78 e5 ff 65 78 OK
28 e4 ff ff e4 ff 65 78 e4 ff 65 78 OK
29 e3 ff ff e3 ff 65 78 e3 ff 65 78 OK
30 e2 ff ff e2 ff 65 78 e2 ff 65 78 OK
31 e1 ff ff e1 ff 65 78 e1 ff 65 78 OK
32 e0 ff ff e0 ff 65 78 e0 ff 65 78 OK
33 df ff ff df ff 65 78 df ff 65 78 OK
34 de ff ff de ff 65 78 de ff 65 78 OK
35 dd ff ff dd ff 65 78 dd ff 65 78 OK
36 dc ff ff dc ff 65 78 dc ff 65 78 OK
37 db ff ff db ff 65 78 db ff 65 78 OK
38 da ff ff da ff 65 78 da ff 65 78 OK
39 d9 ff ff d9 ff 65 78 d9 ff 65 78 OK
40 d8 ff ff d8 ff 65 78 d8 ff 65 78 OK
41 d7 ff ff d7 ff 65 78 d7 ff 65 78 OK
42 d6 ff ff d6 ff 65 78 d6 ff 65 78 OK
43 d5 ff ff d5 ff 65 78 d5 ff 65 78 OK
44 d4 ff ff d4 ff 65 78 d4 ff 65 78 OK
45 d3 ff ff d3 ff 65 78 d3 ff 65 78 OK
46 d2 ff ff d2 ff 65 78 d2 ff 65 78 OK
47 d1 ff ff d1 ff 65 78 d1 ff 65 78 OK
48 d0 ff ff d0 ff 65 78 d0 ff 65 78 OK
49 cf ff ff cf ff 65 78 cf ff 65 78 OK
50 ce ff ff ce ff 65 78 ce ff 65 78 OK
51 cd ff ff cd ff 65 78 cd ff 65 78 OK
52 cc ff ff cc ff 65 78 cc ff 65 78 OK
53 cb ff ff cb ff 65 78 cb ff 65 78 OK
54 ca ff ff ca ff 65 78 ca ff 65 78 OK
55 c9 ff ff c9 ff 65 78 c9 ff 65 78 OK
56 c8 ff ff c8 ff 65 78 c8 ff 65 78 OK
57 c7 ff ff c7 ff 65 78 c7 ff 65 78 OK
58 c6 ff ff c6 ff 65 78 c6 ff 65 78 OK
59 c5 ff ff c5 ff 65 78 c5 ff 65 78 OK
60 c4 ff ff c4 ff 65 78 c4 ff 65 78 OK
61 c3 ff ff c3 ff 65 78 c3 ff 65 78 OK
62 c2 ff ff c2 ff 65 78 c2 ff 65 78 OK
63 c1 ff ff c1 ff 65 78 c1 ff 65 78 OK
64 c0 ff ff c0 ff 65 78 c0 ff 65 78 OK
65 bf ff ff bf ff 65 78 bf ff 65 78 OK
66 be ff ff be ff 65 78 be ff 65 78 OK
67 bd ff ff bd ff 65 78 bd ff 65 78 OK
68 bc ff ff bc ff 65 78 bc ff 65 78 OK
69 bb ff ff bb ff 65 78 bb ff 65 78 OK
70 ba ff ff ba ff 65 78 ba ff 65 78 OK
71 b9 ff ff b9 ff 65 78 b9 ff 65 78 OK
72 b8 ff ff b8 ff 65 78 b8 ff 65 78 OK
73 b7 ff ff b7 ff 65 78 b7 ff 65 78 OK
74 b6 ff ff b6 ff 65 78 b6 ff 65 78 OK
75 b5 ff ff b5 ff 65 78 b5 ff 65 78 OK
76 b4 ff ff b4 ff 65 78 b4 ff 65 78 OK
77 b3 ff ff b3 ff 65 78 b3 ff 65 78 OK
78 b2 ff ff b2 ff 65 78 b2 ff 65 78 OK
79 b1 ff ff b1 ff 65 78 b1 ff 65 78 OK
80 b0 ff ff b0 ff 65 78 b0 ff 65 78 OK
81 af ff ff af ff 65 78 af ff 65 78 OK
82 ae ff ff ae ff 65 78 ae ff 65 78 OK
83 ad ff ff ad ff 65 78 ad ff 65 78 OK
84 ac ff ff ac ff 65 78 ac ff 65 78 OK
85 ab ff ff ab ff 65 78 ab ff 65 78 OK
86 aa ff ff aa ff 65 78 aa ff 65 78 OK
87 a9 ff ff a9 ff 65 78 a9 ff 65 78 OK
88 a8 ff ff a8 ff 65 78 a8 ff 65 78 OK
89 a7 ff ff a7 ff 65 78 a7 ff 65 78 OK
90 a6 ff ff a6 ff 65 78 a6 ff 65 78 OK
91 a5 ff ff a5 ff 65 78 a5 ff 65 78 OK
92 a4 ff ff a4 ff 65 78 a4 ff 65 78 OK
93 a3 ff ff a3 ff 65 78 a3 ff 65 78 OK
94 a2 ff ff a2 ff 65 78 a2 ff 65 78 OK
95 a1 ff ff a1 ff 65 78 a1 ff 65 78 OK
96 a0 ff ff a0 ff 65 78 a0 ff 65 78 OK
97 9f ff ff 9f ff 65 78 9f ff 65 78 OK
98 9e ff ff 9e ff 65 78 9e ff 65 78 OK
99 9d ff ff 9d ff 65 78 9d ff 65 78 OK
100 9c ff ff 9c ff 65 78 9c ff 65 78 OK
101 9b ff ff 9b ff 65 78 9b ff 65 78 OK
102 9a ff ff 9a ff 65 78 9a ff 65 78 OK
103 99 ff ff 99 ff 65 78 99 ff 65 78 OK
104 98 ff ff 98 ff 65 78 98 ff 65 78 OK
105 97 ff ff 97 ff 65 78 97 ff 65 78 OK
106 96 ff ff 96 ff 65 78 96 ff 65 78 OK
107 95 ff ff 95 ff 65 78 95 ff 65 78 OK
108 94 ff ff 94 ff 65 78 94 ff 65 78 OK
109 93 ff ff 93 ff 65 78 93 ff 65 78 OK
110 92 ff ff 92 ff 65 78 92 ff 65 78 OK
111 91 ff ff 91 ff 65 78 91 ff 65 78 OK
112 90 ff ff 90 ff 65 78 90 ff 65 78 OK
113 8f ff ff 8f ff 65 78 8f ff 65 78 OK
114 8e ff ff 8e ff 65 78 8e ff 65 78 OK
115 8d ff ff 8d ff 65 78 8d ff 65 78 OK
116 8c ff ff 8c ff 65 78 8c ff 65 78 OK
117 8b ff ff 8b ff 65 78 8b ff 65 78 OK
118 8a ff ff 8a ff 65 78 8a ff 65 78 OK
119 89 ff ff 89 ff 65 78 89 ff 65 78 OK
120 88 ff ff 88 ff 65 78 88 ff 65 78 OK
121 87 ff ff 87 ff 65 78 87 ff 65 78 OK
122 86 ff ff 86 ff 65 78 86 ff 65 78 OK
123 85 ff ff 85 ff 65 78 85 ff 65 78 OK
124 84 ff ff 84 ff 65 78 84 ff 65 78 OK
125 83 ff ff 83 ff 65 78 83 ff 65 78 OK
126 82 ff ff 82 ff 65 78 82 ff 65 78 OK
127 81 ff ff 81 ff 65 78 81 ff 65 78 OK
128 80 ff ff 80 ff 65 78 80 ff 65 78 OK
129 7f ff ff 7f ff 65 78 7f ff 65 78 OK
130 7e ff ff 7e ff 65 78 7e ff 65 78 OK
131 7d ff ff 7d ff 65 78 7d ff 65 78 OK
132 7c ff ff 7c ff 65 78 7c ff 65 78 OK
133 7b ff ff 7b ff 65 78 7b ff 65 78 OK
134 7a ff ff 7a ff 65 78 7a ff 65 78 OK
135 79 ff ff 79 ff 65 78 79 ff 65 78 OK
136 78 ff ff 78 ff 65 78 78 ff 65 78 OK
137 77 ff ff 77 ff 65 78 77 ff 65 78 OK
138 76 ff ff 76 ff 65 78 76 ff 65 78 OK
139 75 ff ff 75 ff 65 78 75 ff 65 78 OK
140 74 ff ff 74 ff 65 78 74 ff 65 78 OK
141 73 ff ff 73 ff 65 78 73 ff 65 78 OK
142 72 ff ff 72 ff 65 78 72 ff 65 78 OK
143 71 ff ff 71 ff 65 78 71 ff 65 78 OK
144 70 ff ff 70 ff 65 78 70 ff 65 78 OK
145 6f ff ff 6f ff 65 78 6f ff 65 78 OK
146 6e ff ff 6e ff 65 78 6e ff 65 78 OK
147 6d ff ff 6d ff 65 78 6d ff 65 78 OK
148 6c ff ff 6c ff 65 78 6c ff 65 78 OK
149 6b ff ff 6b ff 65 78 6b ff 65 78 OK
150 6a ff ff 6a ff 65 78 6a ff 65 78 OK
151 69 ff ff 69 ff 65 78 69 ff 65 78 OK
152 68 ff ff 68 ff 65 78 68 ff 65 78 OK
153 67 ff ff 67 ff 65 78 67 ff 65 78 OK
154 66 ff ff 66 ff 65 78 66 ff 65 78 OK
155 65 ff ff 65 ff 65 78 65 ff 65 78 OK
156 64 ff ff 64 ff 65 78 64 ff 65 78 OK
157 63 ff ff 63 ff 65 78 63 ff 65 78 OK
158 62 ff ff 62 ff 65 78 62 ff 65 78 OK
159 61 ff ff 61 ff 65 78 61 ff 65 78 OK
160 60 ff ff 60 ff 65 78 60 ff 65 78 OK
161 5f ff ff 5f ff 65 78 5f ff 65 78 OK
162 5e ff ff 5e ff 65 78 5e ff 65 78 OK
163 5d ff ff 5d ff 65 78 5d ff 65 78 OK
164 5c ff ff 5c ff 65 78 5c ff 65 78 OK
165 5b ff ff 5b ff 65 78 5b ff 65 78 OK
166 5a ff ff 5a ff 65 78 5a ff 65 78 OK
167 59 ff ff 59 ff 65 78 59 ff 65 78 OK
168 58 ff ff 58 ff 65 78 58 ff 65 78 OK
169 57 ff ff 57 ff 65 78 57 ff 65 78 OK
170 56 ff ff 56 ff 65 78 56 ff 65 78 OK
171 55 ff ff 55 ff 65 78 55 ff 65 78 OK
172 54 ff ff 54 ff 65 78 54 ff 65 78 OK
173 53 ff ff 53 ff 65 78 53 ff 65 78 OK
174 52 ff ff 52 ff 65 78 52 ff 65 78 OK
175 51 ff ff 51 ff 65 78 51 ff 65 78 OK
176 50 ff ff 50 ff 65 78 50 ff 65 78 OK
177 4f ff ff 4f ff 65 78 4f ff 65 78 OK
178 4e ff ff 4e ff 65 78 4e ff 65 78 OK
179 4d ff ff 4d ff 65 78 4d ff 65 78 OK
180 4c ff ff 4c ff 65 78 4c ff 65 78 OK
181 4b ff ff 4b ff 65 78 4b ff 65 78 OK
182 4a ff ff 4a ff 65 78 4a ff 65 78 OK
183 49 ff ff 49 ff 65 78 49 ff 65 78 OK
184 48 ff ff 48 ff 65 78 48 ff 65 78 OK
185 47 ff ff 47 ff 65 78 47 ff 65 78 OK
186 46 ff ff 46 ff 65 78 46 ff 65 78 OK
187 45 ff ff 45 ff 65 78 45 ff 65 78 OK
188 44 ff ff 44 ff 65 78 44 ff 65 78 OK
189 43 ff ff 43 ff 65 78 43 ff 65 78 OK
190 42 ff ff 42 ff 65 78 42 ff 65 78 OK
191 41 ff ff 41 ff 65 78 41 ff 65 78 OK
192 40 ff ff 40 ff 65 78 40 ff 65 78 OK
193 3f ff ff 3f ff 65 78 3f ff 65 78 OK
194 3e ff ff 3e ff 65 78 3e ff 65 78 OK
195 3d ff ff 3d ff 65 78 3d ff 65 78 OK
196 3c ff ff 3c ff 65 78 3c ff 65 78 OK
197 3b ff ff 3b ff 65 78 3b ff 65 78 OK
198 3a ff ff 3a ff 65 78 3a ff 65 78 OK
199 39 ff ff 39 ff 65 78 39 ff 65 78 OK
200 38 ff ff 38 ff 65 78 38 ff 65 78 OK
201 37 ff ff 37 ff 65 78 37 ff 65 78 OK
202 36 ff ff 36 ff 65 78 36 ff 65 78 OK
203 35 ff ff 35 ff 65 78 35 ff 65 78 OK
204 34 ff ff 34 ff 65 78 34 ff 65 78 OK
205 33 ff ff 33 ff 65 78 33 ff 65 78 OK
206 32 ff ff 32 ff 65 78 32 ff 65 78 OK
207 31 ff ff 31 ff 65 78 31 ff 65 78 OK
208 30 ff ff 30 ff 65 78 30 ff 65 78 OK
209 2f ff ff 2f ff 65 78 2f ff 65 78 OK
210 2e ff ff 2e ff 65 78 2e ff 65 78 OK
211 2d ff ff 2d ff 65 78 2d ff 65 78 OK
212 2c ff ff 2c ff 65 78 2c ff 65 78 OK
213 2b ff ff 2b ff 65 78 2b ff 65 78 OK
214 2a ff ff 2a ff 65 78 2a ff 65 78 OK
215 29 ff ff 29 ff 65 78 29 ff 65 78 OK
216 28 ff ff 28 ff 65 78 28 ff 65 78 OK
217 27 ff ff 27 ff 65 78 27 ff 65 78 OK
218 26 ff ff 26 ff 65 78 26 ff 65 78 OK
219 25 ff ff 25 ff 65 78 25 ff 65 78 OK
220 24 ff ff 24 ff 65 78 24 ff 65 78 OK
221 23 ff ff 23 ff 65 78 23 ff 65 78 OK
222 22 ff ff 22 ff 65 78 22 ff 65 78 OK
223 21 ff ff 21 ff 65 78 21 ff 65 78 OK
224 20 ff ff 20 ff 65 78 20 ff 65 78 OK
225 1f ff ff 1f ff 65 78 1f ff 65 78 OK
226 1e ff ff 1e ff 65 78 1e ff 65 78 OK
227 1d ff ff 1d ff 65 78 1d ff 65 78 OK
228 1c ff ff 1c ff 65 78 1c ff 65 78 OK
229 1b ff ff 1b ff 65 78 1b ff 65 78 OK
230 1a ff ff 1a ff 65 78 1a ff 65 78 OK
231 19 ff ff 19 ff 65 78 19 ff 65 78 OK
232 18 ff ff 18 ff 65 78 18 ff 65 78 OK
233 17 ff ff 17 ff 65 78 17 ff 65 78 OK
234 16 ff ff 16 ff 65 78 16 ff 65 78 OK
235 15 ff ff 15 ff 65 78 15 ff 65 78 OK
236 14 ff ff 14 ff 65 78 14 ff 65 78 OK
237 13 ff ff 13 ff 65 78 13 ff 65 78 OK
238 12 ff ff 12 ff 65 78 12 ff 65 78 OK
239 11 ff ff 11 ff 65 78 11 ff 65 78 OK
240 10 ff ff 10 ff 65 78 10 ff 65 78 OK
241 0f ff ff 0f ff 65 78 0f ff 65 78 OK
242 0e ff ff 0e ff 65 78 0e ff 65 78 OK
243 0d ff ff 0d ff 65 78 0d ff 65 78 OK
244 0c ff ff 0c ff 65 78 0c ff 65 78 OK
245 0b ff ff 0b ff 65 78 0b ff 65 78 OK
246 0a ff ff 0a ff 65 78 0a ff 65 78 OK
247 09 ff ff 09 ff 65 78 09 ff 65 78 OK
248 08 ff ff 08 ff 65 78 08 ff 65 78 OK
249 07 ff ff 07 ff 65 78 07 ff 65 78 OK
250 06 ff ff 06 ff 65 78 06 ff 65 78 OK
251 05 ff ff 05 ff 65 78 05 ff 65 78 OK
252 04 ff ff 04 ff 65 78 04 ff 65 78 OK
253 03 ff ff 03 ff 65 78 03 ff 65 78 OK
254 02 ff ff 02 ff 65 78 02 ff 65 78 OK
255 01 ff ff 01 ff 65 78 01 ff 65 78 OK
256 00 ff ff 00 ff 65 78 00 ff 65 78 OK
257 ff fe ff ff fe 65 78 ff fe 65 78 OK

XDiceLock 7.0.0.1 for Mac OS X C++ source code used in this test:

XDiceLock 7.0.0.1 for Mac OS X

DiceLockCipher.h
baseCryptoRandomStream.h
baseCryptoRandomStream.cpp (1)
baseCryptoRandomStream.cpp (2)
physicalCryptoRandomStream.h
physicalCryptoRandomStream.cpp
baseIndexModifier.h
baseIndexModifier.cpp
arithmeticFunctions.h
arithmeticFunctions.cpp
decreaseBase0IndexModifier_6_0_0_1.h
decreaseBase0IndexModifier_6_0_0_1.cpp



So, DiceLock cipher test and analysis can go on …

DiceLock is a trademark or registered trademark of his owner where applies. DiceLock research is the research to implement Self-corrector randomisation-encryption and method, european patent EP1182777 granted 08/21/2003 and US patent US7508945 granted 03/24/2009.

Leave a Reply