/DCN

Primary LanguageJava

DCN

Lab 1: CRC - CCITT

Enter the size of the data: 
7
Enter the data, bit by bit: 
1
0
1
1
0
0
1
Enter the size of the divisor:
3
Enter the divisor, bit by bit: 
1
0
1
Message bits after appending divisor_length-1 0's: 
1
0
1
1
0
0
1
0
0

The CRC code generated is: 
101100111
Enter the data to be sent: 
1
0
1
1
0
0
1
0
1
Message bits after appending divisor_length-1 0's: 
1
0
1
1
0
0
1
0
1
0
0
There is an error in received data...