|
|
|
In order to check if AES 128 with CBC operation mode can produce randomized-encrypted sequences we check it with all random number tests implemented in DiceLock product.
|
|
|
Summary
100.000 randomized-encrypted text sequences
| Random test |
Random streams |
Non random streams |
Random streams (%) |
Non random streams (%) |
| Frequency test |
99.928 |
72 |
99,928 % |
0,072 % |
| Block frequency test |
99.943 |
57 |
99,943 % |
0,057 % |
Tests performed and results are shown in the following way:
Random number test
Inputs:
| Number of plaintext sequences tested |
|
The number of sequences tested |
| Plaintext sequence lengths |
|
Lengths of the sequences been tested |
| Plaintext sequence content |
|
Plaintext values being tested
|
| Encryption key length |
|
Encryption key length in bytes
|
| Encryption key values |
|
Encryption key values per byte |
| Initialization vector length |
|
Initialization vector length in bytes |
| Initialization vector values |
|
Initialization vector values per byte |
| Frequency confidence |
|
Random confidence level in frequency test
|
| Frequency p-value |
|
Assigned p-value in accordance to confidence level setted
|
|
Results:
| Random ciphertext sequences |
|
The number of ciphertext sequences thar are random based on frequency test
|
| Non random ciphertext sequences |
|
The number of ciphertext sequences thar are NOT random based on frequency test |
| Random ciphertext sequences (percentage) |
|
Percentage of ciphertext sequences thar are random based on frequency test |
| Non random ciphertext sequences (percentage) |
|
Percentage of ciphertext sequences thar are NOT random based on frequency test |
Correct deciphered texts
|
|
Number of correct deciphered sequences (to see that encryption algorithms are woking properly) |
| Incorrect deciphered texts |
|
Number of incorrect deciphered sequences (to see that encryption algorithms are woking properly) |
Checked Frequency test with data.e file
|
|
Checked Frequency random number test with NIST data.e test file
|
|
Blog: [link to post showing result screenshot]
Frequency test
Inputs:
| Number of plaintext sequences tested |
|
100.000 sequences
|
| Plaintext sequence lengths |
|
from 1.000 bits to 801.000 bits (from 125 to 100.125 bytes, length incremented 1 byte each test) |
| Plaintext sequence content |
|
All bytes to value 0 (0x00)
|
| Encryption key length |
|
128 bits (16 bytes)
|
| Encryption key values |
|
each key tested has the same byte value for all bytes, values go from 0×00 to 0xff |
| Initialization vector length |
|
128 bits (16 bytes) |
| Initialization vector values |
|
each initialization vector tested has the same byte value for all bytes, values go from 0×00 to 0xff. |
| Frequency confidence |
|
99,9% |
| Frequency p-value |
|
0.001 |
|
Results:
| Random ciphertext sequences |
|
99.928 |
| Non random ciphertext sequences |
|
72 |
| Random ciphertext sequences (percentage) |
|
99,928 %
|
| Non random ciphertext sequences (percentage) |
|
0,072 % |
Correct deciphered texts
|
|
100.000 |
| Incorrect deciphered texts |
|
0 |
Checked Frequency test with data.e file
|
|
YES |
|
Blog: AES 128 (Advanced Encryption Standard) in CBC mode generates randomized encrypted text checked with frequency test at 99,9 per cent confidence
Block frequency test
Inputs:
| Number of plaintext sequences tested |
|
100.000 sequences
|
| Plaintext sequence lengths |
|
from 1.000 bits to 801.000 bits (from 125 to 100.125 bytes, length incremented 1 byte each test) |
| Plaintext sequence content |
|
All bytes to value 0 (0x00)
|
| Encryption key length |
|
192 bits (24 bytes)
|
| Encryption key values |
|
each key tested has the same byte value for all bytes, values go from 0×00 to 0xff |
| Initialization vector length |
|
128 bits (16 bytes) |
| Initialization vector values |
|
each initialization vector tested has the same byte value for all bytes, values go from 0×00 to 0xff. |
| Block frequency confidence |
|
99,9% |
| Block frequency p-value |
|
0.001 |
| Block frequency block length |
|
128 bits |
|
Results:
| Random ciphertext sequences |
|
99.943 |
| Non random ciphertext sequences |
|
57 |
| Random ciphertext sequences (percentage) |
|
99,943 %
|
| Non random ciphertext sequences (percentage) |
|
0,057 % |
Correct deciphered texts
|
|
100.000 |
| Incorrect deciphered texts |
|
0 |
Checked Frequency test with data.e file
|
|
YES |
|
Blog: AES 128 (Advanced Encryption Standard) in CBC mode generates randomized encrypted text checked with block frequency test at 99,9 per cent confidence
|
|
Your Cart is currently empty.
Newsletter Subscription
Subscribe to our Newsletter.
If you want to know the purpose of our Newsletter, click here !!!
|
|