November 2014
S M T W T F S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Recent Posts

DiceLock-x 8.0.0.1 for Linux, CBC_Mode class (Cipher-block chaining CBC block cipher operation mode algorithm), with PKCS7 class crypto padding algorithm, verified with TDEA, InversePermutation test set and DefaultCryptoRandomStream class (default virtual memory management)

DiceLock-x 8.0.0.1 for Linux 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, Camellia, Serpent, Twofish (128, 192 and 256 bit key lengths) with different block cipher operation modes (like CBC, CFB, OFB and XTS) and stream ciphers as HC 128, HC 256, Rabbit, Salsa 20/20, Sosemanuk 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, Ripemd 320, Md2, Md4 and Md5.

Previous version DiceLock-x 7.0.0.1 for Linux incorporated XTS-AES (XEX-based tweaked-codebook mode with ciphertext stealing XTS block cipher operation mode algorithm) for Advanced Encryption Algorithm (AES) for 128 and 256 bit symmetric keys.

New version DiceLock-x 8.0.0.1 for Linux has made significant improvements:
- added block encryption ciphers like Camellia, Serpent and Twofish with all accepted key lengths of 128, 192 and 256 bits,
- added stream ciphers like Rabbit, Salsa 20/20 with 128 and 256 bit key lengths, and general Sosemanuk, as well as Sosemanuk with 128 and 256 bit key lengths,
- added old hash algorithms like Message Digest 2, Message Digest 4 and Message Digest 5,
- modified DiceLockIndexed and DiceLockDigested classes to be used with encryption ciphers that does not make use of initialization vector (IV),
- created DiceLockIVDigested and DiceLockIVIndexed classes to be used with encryption ciphers that makes use of initialization vector (IV),
- extended DiceLockXTSDigested and DiceLockXTSIndexed classes to be use with newly added Camellia, Serpent and Twofish block ciphers and all three key lengths (128, 192 and 256 bit key lengths),
- added old encryption ciphers like DEA (Data Encryption Algorithm), TDEA (Triple Data Encryption Algorithm), and ARC4 (alleged RC4) for compatibillity reasons.

As the new version DiceLock-x 8.0.0.1 for Linux is developed, all individual components must be tested and verified, and in this article we verify Cipher-block chaining CBC class (computing Cipher-block chaining CBC block cipher algorithm).

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


Verified DiceLock-x 8.0.0.1 for Linux

Verification components:

– Block cipher operation mode encryption algorithm: CBC_Mode class
– CBC crypto padding algorithm: PKCS7 class
– Block cipher encryption algorithm: TDEA class
– Test set : InversePermutation
– Bit stream memory management: DefaultCryptoRandomStream class (default virtual memory management)

Memory characteristic used in this test:

DefaultCryptoRandomStream class makes use of default virtual memory where the system can move pages of physical memory to and from a paging file on disk (manipulation of physical memory by the system is completely transparent to applications).

 

CBC_Mode class block cipher operation mode is executed with PKCS7 class crypto padding algorithm. Encrypted text length is set to 128 and it does match expected ciphertext first 64 bits, remaining 64 bits corresponding to crypto pad data are shown in italic.

Once computed we’ve got the following results:

Inverse permutation, # 1

Input plaintext: 95f8a5e5dd31d900
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 8000000000000000
Computed ciphertext: 8000000000000000ffb0585c41ed4a86 OK
DECIPHERING Deciphered text: 95f8a5e5dd31d900 OK

 

Inverse permutation, # 2

Input plaintext: dd7f121ca5015619
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 4000000000000000
Computed ciphertext: 40000000000000002cccda20c67a36fc OK
DECIPHERING Deciphered text: dd7f121ca5015619 OK

 

Inverse permutation, # 3

Input plaintext: 2e8653104f3834ea
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 2000000000000000
Computed ciphertext: 2000000000000000e6417c76c1ea9cec OK
DECIPHERING Deciphered text: 2e8653104f3834ea OK

 

Inverse permutation, # 4

Input plaintext: 4bd388ff6cd81d4f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 1000000000000000
Computed ciphertext: 1000000000000000b8696b322f6c0a83 OK
DECIPHERING Deciphered text: 4bd388ff6cd81d4f OK

 

Inverse permutation, # 5

Input plaintext: 20b9e767b2fb1456
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0800000000000000
Computed ciphertext: 0800000000000000f98764be809a6c39 OK
DECIPHERING Deciphered text: 20b9e767b2fb1456 OK

 

Inverse permutation, # 6

Input plaintext: 55579380d77138ef
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0400000000000000
Computed ciphertext: 040000000000000089fc2a459dba8cf2 OK
DECIPHERING Deciphered text: 55579380d77138ef OK

 

Inverse permutation, # 7

Input plaintext: 6cc5defaaf04512f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0200000000000000
Computed ciphertext: 02000000000000008ea0455fb3de3536 OK
DECIPHERING Deciphered text: 6cc5defaaf04512f OK

 

Inverse permutation, # 8

Input plaintext: 0d9f279ba5d87260
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0100000000000000
Computed ciphertext: 010000000000000031ca80032e4e05b9 OK
DECIPHERING Deciphered text: 0d9f279ba5d87260 OK

 

Inverse permutation, # 9

Input plaintext: d9031b0271bd5a0a
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0080000000000000
Computed ciphertext: 00800000000000006b98a738ea80d722 OK
DECIPHERING Deciphered text: d9031b0271bd5a0a OK

 

Inverse permutation, # 10

Input plaintext: 424250b37c3dd951
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0040000000000000
Computed ciphertext: 00400000000000004b14d0d93f8a1fd7 OK
DECIPHERING Deciphered text: 424250b37c3dd951 OK

 

Inverse permutation, # 11

Input plaintext: b8061b7ecd9a21e5
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0020000000000000
Computed ciphertext: 0020000000000000aba9ba23ca3fe829 OK
DECIPHERING Deciphered text: b8061b7ecd9a21e5 OK

 

Inverse permutation, # 12

Input plaintext: f15d0f286b65bd28
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0010000000000000
Computed ciphertext: 0010000000000000d75015e9df6d3e2f OK
DECIPHERING Deciphered text: f15d0f286b65bd28 OK

 

Inverse permutation, # 13

Input plaintext: add0cc8d6e5deba1
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0008000000000000
Computed ciphertext: 000800000000000082f07e064ccb9c1d OK
DECIPHERING Deciphered text: add0cc8d6e5deba1 OK

 

Inverse permutation, # 14

Input plaintext: e6d5f82752ad63d1
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0004000000000000
Computed ciphertext: 00040000000000002468edd51532a3c6 OK
DECIPHERING Deciphered text: e6d5f82752ad63d1 OK

 

Inverse permutation, # 15

Input plaintext: ecbfe3bd3f591a5e
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0002000000000000
Computed ciphertext: 0002000000000000a452f7e46704a96d OK
DECIPHERING Deciphered text: ecbfe3bd3f591a5e OK

 

Inverse permutation, # 16

Input plaintext: f356834379d165cd
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0001000000000000
Computed ciphertext: 000100000000000095eb01cf08def697 OK
DECIPHERING Deciphered text: f356834379d165cd OK

 

Inverse permutation, # 17

Input plaintext: 2b9f982f20037fa9
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000800000000000
Computed ciphertext: 0000800000000000cc0b185b85f17c66 OK
DECIPHERING Deciphered text: 2b9f982f20037fa9 OK

 

Inverse permutation, # 18

Input plaintext: 889de068a16f0be6
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000400000000000
Computed ciphertext: 0000400000000000704af5443dbe2f4a OK
DECIPHERING Deciphered text: 889de068a16f0be6 OK

 

Inverse permutation, # 19

Input plaintext: e19e275d846a1298
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000200000000000
Computed ciphertext: 00002000000000005c9950824d064360 OK
DECIPHERING Deciphered text: e19e275d846a1298 OK

 

Inverse permutation, # 20

Input plaintext: 329a8ed523d71aec
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000100000000000
Computed ciphertext: 0000100000000000b9efb6b57ca130c2 OK
DECIPHERING Deciphered text: 329a8ed523d71aec OK

 

Inverse permutation, # 21

Input plaintext: e7fce22557d23c97
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000080000000000
Computed ciphertext: 0000080000000000b4e1d3f7a1254255 OK
DECIPHERING Deciphered text: e7fce22557d23c97 OK

 

Inverse permutation, # 22

Input plaintext: 12a9f5817ff2d65d
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000040000000000
Computed ciphertext: 00000400000000002a2d0a4dffb18796 OK
DECIPHERING Deciphered text: 12a9f5817ff2d65d OK

 

Inverse permutation, # 23

Input plaintext: a484c3ad38dc9c19
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000020000000000
Computed ciphertext: 0000020000000000b7f9afa80016b2e8 OK
DECIPHERING Deciphered text: a484c3ad38dc9c19 OK

 

Inverse permutation, # 24

Input plaintext: fbe00a8a1ef8ad72
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000010000000000
Computed ciphertext: 000001000000000014b3b4938f855634 OK
DECIPHERING Deciphered text: fbe00a8a1ef8ad72 OK

 

Inverse permutation, # 25

Input plaintext: 750d079407521363
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000008000000000
Computed ciphertext: 000000800000000022db6496ef4e3b61 OK
DECIPHERING Deciphered text: 750d079407521363 OK

 

Inverse permutation, # 26

Input plaintext: 64feed9c724c2faf
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000004000000000
Computed ciphertext: 0000004000000000d5877b7ca0a65f4a OK
DECIPHERING Deciphered text: 64feed9c724c2faf OK

 

Inverse permutation, # 27

Input plaintext: f02b263b328e2b60
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000002000000000
Computed ciphertext: 0000002000000000fa9d34967462c24c OK
DECIPHERING Deciphered text: f02b263b328e2b60 OK

 

Inverse permutation, # 28

Input plaintext: 9d64555a9a10b852
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000001000000000
Computed ciphertext: 0000001000000000b46aaf366151ff85 OK
DECIPHERING Deciphered text: 9d64555a9a10b852 OK

 

Inverse permutation, # 29

Input plaintext: d106ff0bed5255d7
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000800000000
Computed ciphertext: 0000000800000000d0e2c153b6d1061c OK
DECIPHERING Deciphered text: d106ff0bed5255d7 OK

 

Inverse permutation, # 30

Input plaintext: e1652c6b138c64a5
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000400000000
Computed ciphertext: 00000004000000000458d6b9177566a7 OK
DECIPHERING Deciphered text: e1652c6b138c64a5 OK

 

Inverse permutation, # 31

Input plaintext: e428581186ec8f46
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000200000000
Computed ciphertext: 00000002000000000e266447ef37f25f OK
DECIPHERING Deciphered text: e428581186ec8f46 OK

 

Inverse permutation, # 32

Input plaintext: aeb5f5ede22d1a36
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000100000000
Computed ciphertext: 0000000100000000bbb9e2a63e8b4635 OK
DECIPHERING Deciphered text: aeb5f5ede22d1a36 OK

 

Inverse permutation, # 33

Input plaintext: e943d7568aec0c5c
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000080000000
Computed ciphertext: 0000000080000000c59fa6336eda5bef OK
DECIPHERING Deciphered text: e943d7568aec0c5c OK

 

Inverse permutation, # 34

Input plaintext: df98c8276f54b04b
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000040000000
Computed ciphertext: 0000000040000000443cf035282e6ccc OK
DECIPHERING Deciphered text: df98c8276f54b04b OK

 

Inverse permutation, # 35

Input plaintext: b160e4680f6c696f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000020000000
Computed ciphertext: 000000002000000016cf2b608579d39e OK
DECIPHERING Deciphered text: b160e4680f6c696f OK

 

Inverse permutation, # 36

Input plaintext: fa0752b07d9c4ab8
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000010000000
Computed ciphertext: 0000000010000000ad78eef0a6420338 OK
DECIPHERING Deciphered text: fa0752b07d9c4ab8 OK

 

Inverse permutation, # 37

Input plaintext: ca3a2b036dbc8502
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000008000000
Computed ciphertext: 0000000008000000afe978ac0effd928 OK
DECIPHERING Deciphered text: ca3a2b036dbc8502 OK

 

Inverse permutation, # 38

Input plaintext: 5e0905517bb59bcf
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000004000000
Computed ciphertext: 0000000004000000c572e47a43f0276b OK
DECIPHERING Deciphered text: 5e0905517bb59bcf OK

 

Inverse permutation, # 39

Input plaintext: 814eeb3b91d90726
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000002000000
Computed ciphertext: 0000000002000000918a4c18fa36d8cc OK
DECIPHERING Deciphered text: 814eeb3b91d90726 OK

 

Inverse permutation, # 40

Input plaintext: 4d49db1532919c9f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000001000000
Computed ciphertext: 00000000010000002188ef0a31ff0890 OK
DECIPHERING Deciphered text: 4d49db1532919c9f OK

 

Inverse permutation, # 41

Input plaintext: 25eb5fc3f8cf0621
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000800000
Computed ciphertext: 00000000008000003d3ba22a2e68483b OK
DECIPHERING Deciphered text: 25eb5fc3f8cf0621 OK

 

Inverse permutation, # 42

Input plaintext: ab6a20c0620d1c6f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000400000
Computed ciphertext: 0000000000400000aecfb51ccd252699 OK
DECIPHERING Deciphered text: ab6a20c0620d1c6f OK

 

Inverse permutation, # 43

Input plaintext: 79e90dbc98f92cca
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000200000
Computed ciphertext: 0000000000200000a489a9698391c4c0 OK
DECIPHERING Deciphered text: 79e90dbc98f92cca OK

 

Inverse permutation, # 44

Input plaintext: 866ecedd8072bb0e
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000100000
Computed ciphertext: 000000000010000029bf0c9806232d80 OK
DECIPHERING Deciphered text: 866ecedd8072bb0e OK

 

Inverse permutation, # 45

Input plaintext: 8b54536f2f3e64a8
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000080000
Computed ciphertext: 000000000008000098b100603da36a2c OK
DECIPHERING Deciphered text: 8b54536f2f3e64a8 OK

 

Inverse permutation, # 46

Input plaintext: ea51d3975595b86b
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000040000
Computed ciphertext: 00000000000400004c7f61c51fd2e7d7 OK
DECIPHERING Deciphered text: ea51d3975595b86b OK

 

Inverse permutation, # 47

Input plaintext: caffc6ac4542de31
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000020000
Computed ciphertext: 0000000000020000d3b2180d8bd42d2d OK
DECIPHERING Deciphered text: caffc6ac4542de31 OK

 

Inverse permutation, # 48

Input plaintext: 8dd45a2ddf90796c
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000010000
Computed ciphertext: 000000000001000002a2ff1f6cc12801 OK
DECIPHERING Deciphered text: 8dd45a2ddf90796c OK

 

Inverse permutation, # 49

Input plaintext: 1029d55e880ec2d0
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000008000
Computed ciphertext: 00000000000080006c834b7ff15104ca OK
DECIPHERING Deciphered text: 1029d55e880ec2d0 OK

 

Inverse permutation, # 50

Input plaintext: 5d86cb23639dbea9
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000004000
Computed ciphertext: 00000000000040003e496c9b05117991 OK
DECIPHERING Deciphered text: 5d86cb23639dbea9 OK

 

Inverse permutation, # 51

Input plaintext: 1d1ca853ae7c0c5f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000002000
Computed ciphertext: 0000000000002000eb07a5742454266f OK
DECIPHERING Deciphered text: 1d1ca853ae7c0c5f OK

 

Inverse permutation, # 52

Input plaintext: ce332329248f3228
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000001000
Computed ciphertext: 00000000000010006553d3804556a50b OK
DECIPHERING Deciphered text: ce332329248f3228 OK

 

Inverse permutation, # 53

Input plaintext: 8405d1abe24fb942
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000800
Computed ciphertext: 0000000000000800069b7c1d25442b60 OK
DECIPHERING Deciphered text: 8405d1abe24fb942 OK

 

Inverse permutation, # 54

Input plaintext: e643d78090ca4207
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000400
Computed ciphertext: 0000000000000400b1bb27ba581684b7 OK
DECIPHERING Deciphered text: e643d78090ca4207 OK

 

Inverse permutation, # 55

Input plaintext: 48221b9937748a23
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000200
Computed ciphertext: 000000000000020047435740728ecbd9 OK
DECIPHERING Deciphered text: 48221b9937748a23 OK

 

Inverse permutation, # 56

Input plaintext: dd7c0bbd61fafd54
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000100
Computed ciphertext: 0000000000000100f38d60a7e66cee3e OK
DECIPHERING Deciphered text: dd7c0bbd61fafd54 OK

 

Inverse permutation, # 57

Input plaintext: 2fbc291a570db5c4
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000080
Computed ciphertext: 000000000000008095fc718db3e9792b OK
DECIPHERING Deciphered text: 2fbc291a570db5c4 OK

 

Inverse permutation, # 58

Input plaintext: e07c30d7e4e26e12
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000040
Computed ciphertext: 0000000000000040781eaf5fc0462197 OK
DECIPHERING Deciphered text: e07c30d7e4e26e12 OK

 

Inverse permutation, # 59

Input plaintext: 0953e2258e8e90a1
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000020
Computed ciphertext: 00000000000000202294261a5729a19a OK
DECIPHERING Deciphered text: 0953e2258e8e90a1 OK

 

Inverse permutation, # 60

Input plaintext: 5b711bc4ceebf2ee
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000010
Computed ciphertext: 000000000000001070d28e270b1f19cd OK
DECIPHERING Deciphered text: 5b711bc4ceebf2ee OK

 

Inverse permutation, # 61

Input plaintext: cc083f1e6d9e85f6
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000008
Computed ciphertext: 0000000000000008bb3429344fed2618 OK
DECIPHERING Deciphered text: cc083f1e6d9e85f6 OK

 

Inverse permutation, # 62

Input plaintext: d2fd8867d50d2dfe
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000004
Computed ciphertext: 000000000000000478e63c224d37c657 OK
DECIPHERING Deciphered text: d2fd8867d50d2dfe OK

 

Inverse permutation, # 63

Input plaintext: 06e7ea22ce92708f
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000002
Computed ciphertext: 00000000000000023d5e979bf8c4b87b OK
DECIPHERING Deciphered text: 06e7ea22ce92708f OK

 

Inverse permutation, # 64

Input plaintext: 166b40b44aba4bd6
Key: 010101010101010101010101010101010101010101010101
IV: 0000000000000000
Expected ciphertext: 0000000000000001
Computed ciphertext: 0000000000000001ef093ff1576f9352 OK
DECIPHERING Deciphered text: 166b40b44aba4bd6 OK

 

DiceLock-x 8.0.0.1 for Linux C++ source code used in this test:

DiceLock-x 8.0.0.1 for Linux

DiceLockCipher.h
cryptoRandomStreams.h
baseCryptoRandomStream.h
baseCryptoRandomStream.cpp
defaultCryptoRandomStream.h
defaultCryptoRandomStream.cpp
baseSymmetricCipher.h
baseSymmetricCipher.cpp
baseSymmetricStreamer.h
baseSymmetricStreamer.cpp
blockCipherOperationModes.h
baseBlockCipherOperationMode_with_IV.h
baseBlockCipherOperationMode_with_IV.cpp
CBC_Mode.h
CBC_Mode.cpp
cryptoPads.h
baseCryptoPad.h
baseCryptoPad.cpp
PKCS7.h
PKCS7.cpp
blockCiphers.h
baseBlockCipher.h
baseBlockCipher.cpp
DEA.h
DEA.cpp
TDEA.h
TDEA.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