How can I implement the Unix "cksum" command in Java?

Tim Rohaly

cksum uses the CRC-16 algorithm, not the CRC-32 algorithm. You need to use another implementation of the Checksum interface for this purpose - it's easy to write your own or find someone else's code. Here's one, for example: http://www.mcmanis.com/~cmcmanis/java/encoders/index.html.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact