This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "CRC16-CCITT " Watch "CRC16-CCITT " New topic
Author

CRC16-CCITT

Rohit Ahuja
Ranch Hand

Joined: Oct 04, 2001
Posts: 121
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: 18545
    
  40

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
file reading in applet
CRC16 with Polynominal : 0x8408, and Preset CRC : 0x6363
Calculating CRC 16 in java
Problems playing some wav audio formats using MMAPI (WTK22)
Basic Hello World Program not working