July 2014
S M T W T F S
« Jun    
 12345
6789101112
13141516171819
20212223242526
2728293031  

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