Apr 21, 2018

11 Maas karar CRC NI KAMGIRI SAMIXA / REVIEW PEHLA 1 MAAS NA KAMIGIRI HUKAM KARVA BABTE PARIPATRA SEE HERE

11 Maas karar CRC NI KAMGIRI SAMIXA / REVIEW PEHLA 1 MAAS NA KAMIGIRI  HUKAM KARVA BABTE PARIPATRA SEE HERE

There are several standard variations on CRCs, any or all of which may be used with any CRC polynomial. Implementation variations such as endianness and CRC presentation only affect the mapping of bit strings to the coefficients of M(x) and R(x), and do not impact the properties of the algorithm.
  • To check the CRC, instead of calculating the CRC on the message and comparing it to the CRC, a CRC calculation may be run on the entire codeword. If the result (called the residual) is zero, the check passes. This works because the codeword is M(x) \cdot x^n - R(x) = Q(x) \cdot G(x), which is always divisible by G(x).
This simplifies many implementations by avoiding the need to treat the last few bytes of the message specially when checking CRCs.
  • The shift register may be initialized with ones instead of zeroes. This is equivalent to inverting the first n bits of the message feeding them into the algorithm. The CRC equation becomes M(x) \cdot x^n + \sum_{i=m}^{m+n-1} x^i = Q(x) \cdot G(x) + R (x), where m > \deg(M(x)) is the length of the message in bits. The change this imposes on R(x) is a function of the generating polynomial and the message length, \left(\sum _{{i=m}}^{{m+n-1}}x^{i}\right)\,{\bmod  \,}G(x).
The reason this method is used is because an unmodified CRC does not distinguish between two messages which differ only in the number of leading zeroes, because leading zeroes do not affect the value of M(x). When this inversion is done, the CRC does distinguish between such messages.


11 Maas karar CRC NI KAMGIRI SAMIXA / REVIEW PEHLA 1 MAAS NA KAMIGIRI HUKAM KARVA BABTE PARIPATRA SEE HERE Rating: 4.5 Diposkan Oleh: SUGANITAM MS

0 comments:

Post a Comment

Google+ Followers