File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes CRC16-CCITT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "CRC16-CCITT " Watch "CRC16-CCITT " New topic
Author

CRC16-CCITT

Deepak A
Ranch Hand

Joined: Oct 04, 2001
Posts: 120
Hello everyone,
I need the java source code implementing CRC16-CCITT encoding.The source i found were all in C or C++. Just wondering whether anyone cud help me in this regard...
Deepak.


Face Off.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18120
    
  39

Originally posted by Deepak A:
Hello everyone,
I need the java source code implementing CRC16-CCITT encoding.The source i found were all in C or C++. Just wondering whether anyone cud help me in this regard...
Deepak.


CRC algorithms, while tedious to grasp, are very short -- meaning that if you already have a C function that does it, it should be very quick to port it over to Java.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CRC16-CCITT
 
Similar Threads
Basic Hello World Program not working
Problems playing some wav audio formats using MMAPI (WTK22)
file reading in applet
CRC16 with Polynominal : 0x8408, and Preset CRC : 0x6363
Calculating CRC 16 in java