In this paper, a new encryption mode, which we call the 2D-Encryption Mode, is presented. 2D-Encrytpion Mode extends 1D-encryption modes, as ECB, CBC and CTR, to two dimensions. It has good security and practical properties. We first look at the type of problems it tries to solve, then describe the technique and its properties, and present a detailed mathematical analysis of its security, and finally discuss some practical issues related to its implementation.
In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. It measures the minimum number of substitutions required to change one string into the other, or the number of errors that transformed one string into the other.The process of detecting errors in a sequence of bits is determined by comparing this sequence to a dictionary of encodings, if found then the pattern is correct, otherwise an error has occurred. In order to correct the errors, the original pattern is substituted with the closest pattern in the dictionary, i.e. the pattern with the smallest hamming distance from the original. A code having a minimum Hamming distance d, can typically detect up to d − 1 and correct up to (d -1) /2 errors in a code word.In this paper we are going to study the possibility to design an encoding scheme by using random patterns in the dictionary that are created by a secure encryption algorithm, and we are going to test the error correction capabilities of our code. For our study, we used a model in which the code words are represented by whole numbers and an error of size r will change the message number by ± r. So, for example, a single error in the message x=7 will change the value of x to 8 or 6, and if x=7 is received as y=10 then an error of size 3 has occurred.The study will be as follows: if we have K numbers selected randomly from {1, 2, 3… N} where K< N, what is the expected minimum distance between the numbers that we will get?To reach our objective, we designed a tool that will find the smallest distance between some K selected numbers out of N, and we were able to show theoretically and practically that for any N, there exist K< N such that the minimum distance between those K selected numbers is definitely going to be 1, and therefore we cannot detect or correct any error.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.