Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract :
is also a codeword. Examples of Linear block codes
This paper is mainly concerned with cyclic code are
encoding using matrix and polynomial techniques,
as well as syndrome decoding utilizing matlab II. THEORY:
programming. The (7,4) Hamming block which
follows the cyclic property is considered here for HAMMING CODE(7,4) :
executing the coding-decoding functions.
Systematic code words are produced by In telecom, Hamming codes are a family of linear
convolving message bits with the Generator error correcting codes that generalize the Hamming
matrix. Non-systematic codewords develop as a (7,4) and were invented by Richard Hamming in
result of polynomial multiplication of message 1950. For each integer r ≥ 2 there is a code
polynomial and generator polynomial expression with block length n = 2r − 1 and message length k =
of (7,4) Hamming code. 2r − r − 1. The parity-check matrix of a Hamming
code is constructed by listing all columns of
Key words— Cyclic Code, Error Syndrome, length r that are non-zero.
Hamming Code, Linear Block Code,
CYCLIC CODE:
Nonsystemetic encoding, decoding, Systematic
Encoding, .
In coding theory, a cyclic code is a block code, where
I. INTRODUCTION : the circular shifts of each codeword gives another
word that belongs to the code. Let C be a linear code
Data Encryption – Encryption or Coding is the of block length ‘n’. Then C is a cyclic code if, for
practice and study of techniques for secure every codeword C’= (C1,…..,Cn) from C the word
communication in the presence of third parties. More obtained by a cyclic shift of components is again a
generally, it is about constructing and codeword.
analyzing protocols that prevent third parties or the
public from reading private messages, various aspects
in information security such as
data confidentiality, data integrity, authentication, are
central to modern cryptography.
716
All Rights Reserved © 2017 IJARCET
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 06, Issue 05, May 2017, ISSN: 2278 – 1323
= x5 + x4 + x
Codeword & its one bit ---- 0 0 0 1 0 1 1 b). Rg(x)[i(x) * xn-k] = r(x) [r(x) = remainder of the
division]
rotated version ------- 1000101
c). i(x) * xn-k +r(x) =c(x) => Systematic coded
Polynomial Representation Of Cyclic Code: polynomial.
A code word can be expressed in terms of For instance, if the message bits are 0 1 1 1, then the
polynomial equations as given : systematic version of it will be,
0 1 1 1 0 1 0.
p(x) = an-1xn-1 + an-2xn-2 + an-3xn-3 + ........................+
a0x0, where, the coefficients will be either 0 or
1.
717
All Rights Reserved © 2017 IJARCET
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 06, Issue 05, May 2017, ISSN: 2278 – 1323
Algorithms utilized in coding process : d) If si is not in the syndrome look-up table, goto Step
3.
For generation of Systematic Cyclic Code :-
e) Let ei be the error pattern corresponding to the
a) Assign n(total no. of bits) & k(message bits) to 7 syndrome si. Determine e by cyclically shifting
& 4 respectively.
ei i times to the left.
b) Perform the operation :
f) Let c := r − e. Output c.
p<=(k,(n-k)) #parity matrix. And i<= (k,k) #identity
matrix Syndrome Decoding for Cyclic Codes :-
c)Concatenate ‘p’ & ‘I’ & assign the result to a Let s(x) be the syndrome polynomial corresponding
variable g<= concatenate(p & i). to a received polynomial r(x).
d)Ask for the input message from user & store it into Let ri(x) be the polynomial obtained by cyclically
a variable ‘d’. shifting the coefficients of r(x) i steps to the right.
e)Multiply the user input & the concatenated result Then the remainder obtained when dividing xs(x) by
(matrix multiplication). g(x) is the syndrome s1(x) corresponding to r 1(x).
f)Perform modulo 2 operation & store the result in a Having computed the syndrome s with an SR
variable of choice. division circuit, we get si(x) after the input of i 0s into
the circuit.
g)Display that variable.
We then need only store one syndrome s for an error
For Non-Systematic Cyclic Code :- pattern e and all cyclic shifts of e.
a)For (7,4) Block code, the generator polynomial The syndrome S can be calculated for matrix form
will be = x3 + x + 1 by= S = r * HT
b)Any message word is to be given by the user in Where r = received word, H= parity check matrix.
bits.
V. OUTPUT AND DATA ANALYSIS:
c)The word is converted into its corresponding
polynomial form. Outputs of the matlab codes of the corresponding
algorithms
d)The coded polynomial is to be obtained by
multiplying the message and generator polynomial & *******************************************
performing modulo 2 operation. ******
718
All Rights Reserved © 2017 IJARCET
International Journal of Advanced Research in Computer Engineering & Technology (IJARCET)
Volume 06, Issue 05, May 2017, ISSN: 2278 – 1323
Message Word: 0 0 0 1 1 0 1
1 1 0 1 *******************************************
******
Generator Polynomial:
*******************************************
x^3 + x^2 + 1 ******
0 1 0
719
All Rights Reserved © 2017 IJARCET