| DiceLock architecture |
Encryption architecture The basic architecture of DiceLock cipher is as follows:
SCRE Self-Corrector Randomizer-Encrypter algorithm makes use of well known block ciphers (working with CBC, CFB or OFB operation mode) like AES 1298, AES 192 and AES 256 and stream ciphers like HC 128 and HC 256. SCRE encrypts the plaintext sequence with the above mentioned algorithms. If RNTS signals (S, reencrypt Signal) that the encrypted text sequence is not at random SCRE is able to change the key (for example) and reencrypts the plaintext sequence with the new key to generate a new candidate ciphertext (CC, Candidate Ciphertext). To get randomized-encrypted text sequences maybe a change on input data has been performed, thus on decryption the same change must be applied. There exist different ways to accomplish it and it implies that SCRE can get different implementations. RNTS Random Number Test Suite is a suite of random number tests. It can implement NIST's FIPS 800-22 rev1a titled "A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications" random number tests. Rnadom number test candidcates to be implemented are 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. SCRE & RNTS definitions These elements correspond to the following definitions specified in patent document:
Decryption architecture As has been previously explained, SCRE can be implemented in different ways in order to point out when a change in the key (for example) has been performed and the same change must be done on decryption to get the correct plaintext. Because of this decryption architecture depends on the specific SCRE architecture. Two main optional architectures can be processed - DiceLock Digested, where plaintext and hash digest of the plaintext are encrypted for encryption until they are randomized, and - DiceLock Indexed, where a decryption index and the paintext are encrypted until they are randomized.
|

