This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes CRC-32 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "CRC-32" Watch "CRC-32" New topic
Author

CRC-32

chella adisesh
Greenhorn

Joined: Oct 10, 2003
Posts: 7
I have a bytebuffer information and i want to implement crc-32 without using the crc methods as defined in java 2.0. Please help.
Thanks
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Did you consider sticking "java crc-32" in Google? First hit is bull's eye from the looks of it.
- Peter
[ October 11, 2003: Message edited by: Peter den Haan ]
chella adisesh
Greenhorn

Joined: Oct 10, 2003
Posts: 7
Thank you peter. I looked at the program and want a second opinion.
The question is whether this program uses the java.util.zip.CRC32 class.
Thanks.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
You're talking about this page? You've got the source code right there. Does it import or use anything from the java.util.zip package?


"I'm not back." - Bill Harding, Twister
chella adisesh
Greenhorn

Joined: Oct 10, 2003
Posts: 7
Yep. I am talking about CRC32.java. I just want to confirm that it does not use the java.util.
Thanks.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by chella adisesh:
Yep. I am talking about CRC32.java. I just want to confirm that it does not use the java.util.
Good grief. Um, Chella, are you under the impression that our eyes contain some automatic Java source scanning functionality that you lack? Wish it were true, but sadly it isn't. We'd have to do the same things that you would do: eyeball the source for any occurrence of "java.util", or better, use the search facility of our text editor.
- Peter
chella adisesh
Greenhorn

Joined: Oct 10, 2003
Posts: 7
Thanks.
Chella
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CRC-32
 
Similar Threads
CRC for a file
CRC16 with Polynominal : 0x8408, and Preset CRC : 0x6363
CRC algorithm
New type of Error??
Java Security