• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CRC32 Specifications

 
Ranch Hand
Posts: 269
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anybody know if there are at least two different algorithm hiding under this name?
I have to check the CRC32 on an incoming byte array. The CRC32 which comes with this frame has been calculated with an algorithm written in C (and generated by myself).
I use the java.util.zip.CRC32 class from the jdk 1.3 to calculate the CRC32 on the byte array and match it with the CRC32 at the end of the frame.
But I do not find the same result. Looking at the source does not help since native methods are called. The javadoc is not much clearer since there are no link on the CRC32 specifications.
W.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like someone has filed a bug on this lack of documentation issue for JDK 1.4. You might want to add 1.3 to it.
Bug Id 4493869
John Harby
JCP Member
JSR 155 Expert Group
 
reply
    Bookmark Topic Watch Topic
  • New Topic