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

CRC32 algorithum

Parag Patankar
Greenhorn

Joined: Feb 26, 2007
Posts: 13
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

Joined: Aug 16, 2005
Posts: 14431
    
  23

Welcome to JavaRanch.

java.util.zip is a package, not a file. Look it up in the API documentation.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Parag Patankar
Greenhorn

Joined: Feb 26, 2007
Posts: 13
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
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
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
 
subject: CRC32 algorithum