Recurrence test for an encryption algorithm

조회 수: 5 (최근 30일)
YAHYA AL-MOLIKI
YAHYA AL-MOLIKI 2020년 12월 1일
댓글: Walter Roberson 2020년 12월 2일
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
Rik
Rik 2020년 12월 1일
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 2020년 12월 2일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by