Recurrence test for an encryption algorithm

5 vues (au cours des 30 derniers jours)
YAHYA AL-MOLIKI
YAHYA AL-MOLIKI le 1 Déc 2020
Commenté : Walter Roberson le 2 Déc 2020
The recurrence test is used to measure the randomness and to estimate the correlation among the data by consideing the variation between the received encrypted bytes S(t) and the delay version of it for t >=1 (S(t+1)).
How can we implemnet it uisng Matlab?
  4 commentaires
Rik
Rik le 1 Déc 2020
I partly agree with you. You can even use a truly aweful hashing algorithm (like e.g. mine) as an encryptions algorithm, but the main point is still that you will have to figure out a way to shift the signal, and the most optimal way to do that probably depends on what data type the implementation will accept.
Walter Roberson
Walter Roberson le 2 Déc 2020
The question specifically talks about received encrypted bytes. As it seems unlikely that the person asking the question is a relic of the 1970s and early 1980s when "byte" had not yet been standardized as being the same as octet, we can be nearly certain that the datatype that will be returned will be uint8 (or double being used to represent uint8)
The question as phrased does not require any calls to the encryption algorithm, just analysis of a sequence of bytes. The question is not phrased as being an effort to find some input sequence that has an unusual correlation of bytes in output -- after all, if it is a "good" encryption algorithm, every possible sequence of output bytes is possible, including just happening to produce all 0 or all 42 or producing 0:255 in sequence.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by