This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CRC32 algorithum

 
Parag Patankar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am a beginner of a java. I want to calculate CRC32 algorithum on aix 5.2 using java. How can I do this ? ( my understanding is it is part of java.util.zip. But I can not find this file ? How to install it ? )

thanks & regards
parag
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

java.util.zip is a package, not a file. Look it up in the API documentation.
 
Parag Patankar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your warm welcome. I would like to know

1/ What is difference in package and file ? ( sorry for my basic java knowledge )

2/ How to calculate CRC32 checksum using java ?

thanks & regards
PJP
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good source for examples of the core Java classes is http://www.javaalmanac.com/egs (you might want to bookmark this). Calculating the CRC32 of a file is demonstrated here.

The Sun Java Tutorial is a good place to start learning about concepts like packages.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic