October 2014
S M T W T F S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728293031  

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 with propagation 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 88 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 87 66 78 ff 87 66 78 OK
257 ff fe ff ff 86 66 78 ff 86 66 78 OK
513 ff fd ff ff 85 66 78 ff 85 66 78 OK
769 ff fc ff ff 84 66 78 ff 84 66 78 OK
1025 ff fb ff ff 83 66 78 ff 83 66 78 OK
1281 ff fa ff ff 82 66 78 ff 82 66 78 OK
1537 ff f9 ff ff 81 66 78 ff 81 66 78 OK
1793 ff f8 ff ff 80 66 78 ff 80 66 78 OK
2049 ff f7 ff ff 7f 66 78 ff 7f 66 78 OK
2305 ff f6 ff ff 7e 66 78 ff 7e 66 78 OK
2561 ff f5 ff ff 7d 66 78 ff 7d 66 78 OK
2817 ff f4 ff ff 7c 66 78 ff 7c 66 78 OK
3073 ff f3 ff ff 7b 66 78 ff 7b 66 78 OK
3329 ff f2 ff ff 7a 66 78 ff 7a 66 78 OK
3585 ff f1 ff ff 79 66 78 ff 79 66 78 OK
3841 ff f0 ff ff 78 66 78 ff 78 66 78 OK
4097 ff ef ff ff 77 66 78 ff 77 66 78 OK
4353 ff ee ff ff 76 66 78 ff 76 66 78 OK
4609 ff ed ff ff 75 66 78 ff 75 66 78 OK
4865 ff ec ff ff 74 66 78 ff 74 66 78 OK
5121 ff eb ff ff 73 66 78 ff 73 66 78 OK
5377 ff ea ff ff 72 66 78 ff 72 66 78 OK
5633 ff e9 ff ff 71 66 78 ff 71 66 78 OK
5889 ff e8 ff ff 70 66 78 ff 70 66 78 OK
6145 ff e7 ff ff 6f 66 78 ff 6f 66 78 OK
6401 ff e6 ff ff 6e 66 78 ff 6e 66 78 OK
6657 ff e5 ff ff 6d 66 78 ff 6d 66 78 OK
6913 ff e4 ff ff 6c 66 78 ff 6c 66 78 OK
7169 ff e3 ff ff 6b 66 78 ff 6b 66 78 OK
7425 ff e2 ff ff 6a 66 78 ff 6a 66 78 OK
7681 ff e1 ff ff 69 66 78 ff 69 66 78 OK
7937 ff e0 ff ff 68 66 78 ff 68 66 78 OK
8193 ff df ff ff 67 66 78 ff 67 66 78 OK
8449 ff de ff ff 66 66 78 ff 66 66 78 OK
8705 ff dd ff ff 65 66 78 ff 65 66 78 OK
8961 ff dc ff ff 64 66 78 ff 64 66 78 OK
9217 ff db ff ff 63 66 78 ff 63 66 78 OK
9473 ff da ff ff 62 66 78 ff 62 66 78 OK
9729 ff d9 ff ff 61 66 78 ff 61 66 78 OK
9985 ff d8 ff ff 60 66 78 ff 60 66 78 OK
10241 ff d7 ff ff 5f 66 78 ff 5f 66 78 OK
10497 ff d6 ff ff 5e 66 78 ff 5e 66 78 OK
10753 ff d5 ff ff 5d 66 78 ff 5d 66 78 OK
11009 ff d4 ff ff 5c 66 78 ff 5c 66 78 OK
11265 ff d3 ff ff 5b 66 78 ff 5b 66 78 OK
11521 ff d2 ff ff 5a 66 78 ff 5a 66 78 OK
11777 ff d1 ff ff 59 66 78 ff 59 66 78 OK
12033 ff d0 ff ff 58 66 78 ff 58 66 78 OK
12289 ff cf ff ff 57 66 78 ff 57 66 78 OK
12545 ff ce ff ff 56 66 78 ff 56 66 78 OK
12801 ff cd ff ff 55 66 78 ff 55 66 78 OK
13057 ff cc ff ff 54 66 78 ff 54 66 78 OK
13313 ff cb ff ff 53 66 78 ff 53 66 78 OK
13569 ff ca ff ff 52 66 78 ff 52 66 78 OK
13825 ff c9 ff ff 51 66 78 ff 51 66 78 OK
14081 ff c8 ff ff 50 66 78 ff 50 66 78 OK
14337 ff c7 ff ff 4f 66 78 ff 4f 66 78 OK
14593 ff c6 ff ff 4e 66 78 ff 4e 66 78 OK
14849 ff c5 ff ff 4d 66 78 ff 4d 66 78 OK
15105 ff c4 ff ff 4c 66 78 ff 4c 66 78 OK
15361 ff c3 ff ff 4b 66 78 ff 4b 66 78 OK
15617 ff c2 ff ff 4a 66 78 ff 4a 66 78 OK
15873 ff c1 ff ff 49 66 78 ff 49 66 78 OK
16129 ff c0 ff ff 48 66 78 ff 48 66 78 OK
16385 ff bf ff ff 47 66 78 ff 47 66 78 OK
16641 ff be ff ff 46 66 78 ff 46 66 78 OK
16897 ff bd ff ff 45 66 78 ff 45 66 78 OK
17153 ff bc ff ff 44 66 78 ff 44 66 78 OK
17409 ff bb ff ff 43 66 78 ff 43 66 78 OK
17665 ff ba ff ff 42 66 78 ff 42 66 78 OK
17921 ff b9 ff ff 41 66 78 ff 41 66 78 OK
18177 ff b8 ff ff 40 66 78 ff 40 66 78 OK
18433 ff b7 ff ff 3f 66 78 ff 3f 66 78 OK
18689 ff b6 ff ff 3e 66 78 ff 3e 66 78 OK
18945 ff b5 ff ff 3d 66 78 ff 3d 66 78 OK
19201 ff b4 ff ff 3c 66 78 ff 3c 66 78 OK
19457 ff b3 ff ff 3b 66 78 ff 3b 66 78 OK
19713 ff b2 ff ff 3a 66 78 ff 3a 66 78 OK
19969 ff b1 ff ff 39 66 78 ff 39 66 78 OK
20225 ff b0 ff ff 38 66 78 ff 38 66 78 OK
20481 ff af ff ff 37 66 78 ff 37 66 78 OK
20737 ff ae ff ff 36 66 78 ff 36 66 78 OK
20993 ff ad ff ff 35 66 78 ff 35 66 78 OK
21249 ff ac ff ff 34 66 78 ff 34 66 78 OK
21505 ff ab ff ff 33 66 78 ff 33 66 78 OK
21761 ff aa ff ff 32 66 78 ff 32 66 78 OK
22017 ff a9 ff ff 31 66 78 ff 31 66 78 OK
22273 ff a8 ff ff 30 66 78 ff 30 66 78 OK
22529 ff a7 ff ff 2f 66 78 ff 2f 66 78 OK
22785 ff a6 ff ff 2e 66 78 ff 2e 66 78 OK
23041 ff a5 ff ff 2d 66 78 ff 2d 66 78 OK
23297 ff a4 ff ff 2c 66 78 ff 2c 66 78 OK
23553 ff a3 ff ff 2b 66 78 ff 2b 66 78 OK
23809 ff a2 ff ff 2a 66 78 ff 2a 66 78 OK
24065 ff a1 ff ff 29 66 78 ff 29 66 78 OK
24321 ff a0 ff ff 28 66 78 ff 28 66 78 OK
24577 ff 9f ff ff 27 66 78 ff 27 66 78 OK
24833 ff 9e ff ff 26 66 78 ff 26 66 78 OK
25089 ff 9d ff ff 25 66 78 ff 25 66 78 OK
25345 ff 9c ff ff 24 66 78 ff 24 66 78 OK
25601 ff 9b ff ff 23 66 78 ff 23 66 78 OK
25857 ff 9a ff ff 22 66 78 ff 22 66 78 OK
26113 ff 99 ff ff 21 66 78 ff 21 66 78 OK
26369 ff 98 ff ff 20 66 78 ff 20 66 78 OK
26625 ff 97 ff ff 1f 66 78 ff 1f 66 78 OK
26881 ff 96 ff ff 1e 66 78 ff 1e 66 78 OK
27137 ff 95 ff ff 1d 66 78 ff 1d 66 78 OK
27393 ff 94 ff ff 1c 66 78 ff 1c 66 78 OK
27649 ff 93 ff ff 1b 66 78 ff 1b 66 78 OK
27905 ff 92 ff ff 1a 66 78 ff 1a 66 78 OK
28161 ff 91 ff ff 19 66 78 ff 19 66 78 OK
28417 ff 90 ff ff 18 66 78 ff 18 66 78 OK
28673 ff 8f ff ff 17 66 78 ff 17 66 78 OK
28929 ff 8e ff ff 16 66 78 ff 16 66 78 OK
29185 ff 8d ff ff 15 66 78 ff 15 66 78 OK
29441 ff 8c ff ff 14 66 78 ff 14 66 78 OK
29697 ff 8b ff ff 13 66 78 ff 13 66 78 OK
29953 ff 8a ff ff 12 66 78 ff 12 66 78 OK
30209 ff 89 ff ff 11 66 78 ff 11 66 78 OK
30465 ff 88 ff ff 10 66 78 ff 10 66 78 OK
30721 ff 87 ff ff 0f 66 78 ff 0f 66 78 OK
30977 ff 86 ff ff 0e 66 78 ff 0e 66 78 OK
31233 ff 85 ff ff 0d 66 78 ff 0d 66 78 OK
31489 ff 84 ff ff 0c 66 78 ff 0c 66 78 OK
31745 ff 83 ff ff 0b 66 78 ff 0b 66 78 OK
32001 ff 82 ff ff 0a 66 78 ff 0a 66 78 OK
32257 ff 81 ff ff 09 66 78 ff 09 66 78 OK
32513 ff 80 ff ff 08 66 78 ff 08 66 78 OK
32769 ff 7f ff ff 07 66 78 ff 07 66 78 OK
33025 ff 7e ff ff 06 66 78 ff 06 66 78 OK
33281 ff 7d ff ff 05 66 78 ff 05 66 78 OK
33537 ff 7c ff ff 04 66 78 ff 04 66 78 OK
33793 ff 7b ff ff 03 66 78 ff 03 66 78 OK
34049 ff 7a ff ff 02 66 78 ff 02 66 78 OK
34305 ff 79 ff ff 01 66 78 ff 01 66 78 OK
34561 ff 78 ff ff 00 66 78 ff 00 66 78 OK
34817 ff 77 ff ff ff 65 78 ff ff 65 78 OK
35073 ff 76 ff ff fe 65 78 ff fe 65 78 OK
35329 ff 75 ff ff fd 65 78 ff fd 65 78 OK
35585 ff 74 ff ff fc 65 78 ff fc 65 78 OK
35841 ff 73 ff ff fb 65 78 ff fb 65 78 OK
36097 ff 72 ff ff fa 65 78 ff fa 65 78 OK
36353 ff 71 ff ff f9 65 78 ff f9 65 78 OK
36609 ff 70 ff ff f8 65 78 ff f8 65 78 OK
36865 ff 6f ff ff f7 65 78 ff f7 65 78 OK
37121 ff 6e ff ff f6 65 78 ff f6 65 78 OK
37377 ff 6d ff ff f5 65 78 ff f5 65 78 OK
37633 ff 6c ff ff f4 65 78 ff f4 65 78 OK
37889 ff 6b ff ff f3 65 78 ff f3 65 78 OK
38145 ff 6a ff ff f2 65 78 ff f2 65 78 OK
38401 ff 69 ff ff f1 65 78 ff f1 65 78 OK
38657 ff 68 ff ff f0 65 78 ff f0 65 78 OK
38913 ff 67 ff ff ef 65 78 ff ef 65 78 OK
39169 ff 66 ff ff ee 65 78 ff ee 65 78 OK
39425 ff 65 ff ff ed 65 78 ff ed 65 78 OK
39681 ff 64 ff ff ec 65 78 ff ec 65 78 OK
39937 ff 63 ff ff eb 65 78 ff eb 65 78 OK
40193 ff 62 ff ff ea 65 78 ff ea 65 78 OK
40449 ff 61 ff ff e9 65 78 ff e9 65 78 OK
40705 ff 60 ff ff e8 65 78 ff e8 65 78 OK
40961 ff 5f ff ff e7 65 78 ff e7 65 78 OK
41217 ff 5e ff ff e6 65 78 ff e6 65 78 OK
41473 ff 5d ff ff e5 65 78 ff e5 65 78 OK
41729 ff 5c ff ff e4 65 78 ff e4 65 78 OK
41985 ff 5b ff ff e3 65 78 ff e3 65 78 OK
42241 ff 5a ff ff e2 65 78 ff e2 65 78 OK
42497 ff 59 ff ff e1 65 78 ff e1 65 78 OK
42753 ff 58 ff ff e0 65 78 ff e0 65 78 OK
43009 ff 57 ff ff df 65 78 ff df 65 78 OK
43265 ff 56 ff ff de 65 78 ff de 65 78 OK
43521 ff 55 ff ff dd 65 78 ff dd 65 78 OK
43777 ff 54 ff ff dc 65 78 ff dc 65 78 OK
44033 ff 53 ff ff db 65 78 ff db 65 78 OK
44289 ff 52 ff ff da 65 78 ff da 65 78 OK
44545 ff 51 ff ff d9 65 78 ff d9 65 78 OK
44801 ff 50 ff ff d8 65 78 ff d8 65 78 OK
45057 ff 4f ff ff d7 65 78 ff d7 65 78 OK
45313 ff 4e ff ff d6 65 78 ff d6 65 78 OK
45569 ff 4d ff ff d5 65 78 ff d5 65 78 OK
45825 ff 4c ff ff d4 65 78 ff d4 65 78 OK
46081 ff 4b ff ff d3 65 78 ff d3 65 78 OK
46337 ff 4a ff ff d2 65 78 ff d2 65 78 OK
46593 ff 49 ff ff d1 65 78 ff d1 65 78 OK
46849 ff 48 ff ff d0 65 78 ff d0 65 78 OK
47105 ff 47 ff ff cf 65 78 ff cf 65 78 OK
47361 ff 46 ff ff ce 65 78 ff ce 65 78 OK
47617 ff 45 ff ff cd 65 78 ff cd 65 78 OK
47873 ff 44 ff ff cc 65 78 ff cc 65 78 OK
48129 ff 43 ff ff cb 65 78 ff cb 65 78 OK
48385 ff 42 ff ff ca 65 78 ff ca 65 78 OK
48641 ff 41 ff ff c9 65 78 ff c9 65 78 OK
48897 ff 40 ff ff c8 65 78 ff c8 65 78 OK
49153 ff 3f ff ff c7 65 78 ff c7 65 78 OK
49409 ff 3e ff ff c6 65 78 ff c6 65 78 OK
49665 ff 3d ff ff c5 65 78 ff c5 65 78 OK
49921 ff 3c ff ff c4 65 78 ff c4 65 78 OK
50177 ff 3b ff ff c3 65 78 ff c3 65 78 OK
50433 ff 3a ff ff c2 65 78 ff c2 65 78 OK
50689 ff 39 ff ff c1 65 78 ff c1 65 78 OK
50945 ff 38 ff ff c0 65 78 ff c0 65 78 OK
51201 ff 37 ff ff bf 65 78 ff bf 65 78 OK
51457 ff 36 ff ff be 65 78 ff be 65 78 OK
51713 ff 35 ff ff bd 65 78 ff bd 65 78 OK
51969 ff 34 ff ff bc 65 78 ff bc 65 78 OK
52225 ff 33 ff ff bb 65 78 ff bb 65 78 OK
52481 ff 32 ff ff ba 65 78 ff ba 65 78 OK
52737 ff 31 ff ff b9 65 78 ff b9 65 78 OK
52993 ff 30 ff ff b8 65 78 ff b8 65 78 OK
53249 ff 2f ff ff b7 65 78 ff b7 65 78 OK
53505 ff 2e ff ff b6 65 78 ff b6 65 78 OK
53761 ff 2d ff ff b5 65 78 ff b5 65 78 OK
54017 ff 2c ff ff b4 65 78 ff b4 65 78 OK
54273 ff 2b ff ff b3 65 78 ff b3 65 78 OK
54529 ff 2a ff ff b2 65 78 ff b2 65 78 OK
54785 ff 29 ff ff b1 65 78 ff b1 65 78 OK
55041 ff 28 ff ff b0 65 78 ff b0 65 78 OK
55297 ff 27 ff ff af 65 78 ff af 65 78 OK
55553 ff 26 ff ff ae 65 78 ff ae 65 78 OK
55809 ff 25 ff ff ad 65 78 ff ad 65 78 OK
56065 ff 24 ff ff ac 65 78 ff ac 65 78 OK
56321 ff 23 ff ff ab 65 78 ff ab 65 78 OK
56577 ff 22 ff ff aa 65 78 ff aa 65 78 OK
56833 ff 21 ff ff a9 65 78 ff a9 65 78 OK
57089 ff 20 ff ff a8 65 78 ff a8 65 78 OK
57345 ff 1f ff ff a7 65 78 ff a7 65 78 OK
57601 ff 1e ff ff a6 65 78 ff a6 65 78 OK
57857 ff 1d ff ff a5 65 78 ff a5 65 78 OK
58113 ff 1c ff ff a4 65 78 ff a4 65 78 OK
58369 ff 1b ff ff a3 65 78 ff a3 65 78 OK
58625 ff 1a ff ff a2 65 78 ff a2 65 78 OK
58881 ff 19 ff ff a1 65 78 ff a1 65 78 OK
59137 ff 18 ff ff a0 65 78 ff a0 65 78 OK
59393 ff 17 ff ff 9f 65 78 ff 9f 65 78 OK
59649 ff 16 ff ff 9e 65 78 ff 9e 65 78 OK
59905 ff 15 ff ff 9d 65 78 ff 9d 65 78 OK
60161 ff 14 ff ff 9c 65 78 ff 9c 65 78 OK
60417 ff 13 ff ff 9b 65 78 ff 9b 65 78 OK
60673 ff 12 ff ff 9a 65 78 ff 9a 65 78 OK
60929 ff 11 ff ff 99 65 78 ff 99 65 78 OK
61185 ff 10 ff ff 98 65 78 ff 98 65 78 OK
61441 ff 0f ff ff 97 65 78 ff 97 65 78 OK
61697 ff 0e ff ff 96 65 78 ff 96 65 78 OK
61953 ff 0d ff ff 95 65 78 ff 95 65 78 OK
62209 ff 0c ff ff 94 65 78 ff 94 65 78 OK
62465 ff 0b ff ff 93 65 78 ff 93 65 78 OK
62721 ff 0a ff ff 92 65 78 ff 92 65 78 OK
62977 ff 09 ff ff 91 65 78 ff 91 65 78 OK
63233 ff 08 ff ff 90 65 78 ff 90 65 78 OK
63489 ff 07 ff ff 8f 65 78 ff 8f 65 78 OK
63745 ff 06 ff ff 8e 65 78 ff 8e 65 78 OK
64001 ff 05 ff ff 8d 65 78 ff 8d 65 78 OK
64257 ff 04 ff ff 8c 65 78 ff 8c 65 78 OK
64513 ff 03 ff ff 8b 65 78 ff 8b 65 78 OK
64769 ff 02 ff ff 8a 65 78 ff 8a 65 78 OK
65025 ff 01 ff ff 89 65 78 ff 89 65 78 OK
65281 ff 00 ff ff 88 65 78 ff 88 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