How to calculate CRC by using java
807569May 26 2006 — edited May 28 2006Hi my friends, I am working on a problem about CRC code computation. But I am getting stuck on how to perform the division in java. For example: one text file contains this infomation
110101 divisor
1010001101 message
the output of the program should be the CRC code, in this case the output is 101000110101110 where the last 5 digits are the CRC code which is the remainder of the message divided by the divisor. Can someone help me with this problem. Thanks a lot!!
Cheers