Question: Suppose that a message M = 1001 0101 1111 1000 (w 1 w 2 w 3 w 4 ) is transmitted using Internet Checksum (4-bit
Suppose that a message M = 1001 0101 1111 1000 (w1 w2 w3 w4) is transmitted using Internet Checksum (4-bit word). The objective is to compute the checksum for the message M. In order to determine the checksum, follow the steps below.
An n-bit Internet Checksum is computed as follows:
Break the stream of bits in 4-bit words w1, w2, ..., and wm. For the message 1001 0101 1111 1000, list the words w1, w2, ..., and wm assuming a 4-bit checksum.
Compute the 4-bit word S = w1 + w2, if there is a carry then set S = S + 1. Execute this step on Message M = 1001 0101 1111 1000.
3) Compute S = S + w3, if there is a carry then set S = S + 1, Execute this step on Message 1001 0101 1111 1000.
4) Compute S = S + wn, if there is a carry then set S = S + 1. Execute this step on Message 1001 0101 1111 1000.
Finally, the Internet Checksum = ~S (one-complement of S)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
