03-31-2011
There are lots of different CRC-32 algorithms in use and many more could be devised. The polynomial used in the calculation varies among them. This
page list some of them. The CRC-32 used by and Unix that meets Posix requirements is the IEEE CRC-32. That utility probably is using another CRC - 32. They are both real CRC -32's but the Unix version is standard.
8 More Discussions You Might Find Interesting
1. Programming
hello again,
does anyone know where i can find some detailed info about the cyclic redundancy check?
thx (2 Replies)
Discussion started by: crashnburn
2 Replies
2. Shell Programming and Scripting
hello all.
I'm not asking about the algorithm - or how it goes about computing the checksum - I'm asking how it views/looks at the files it does the cksum on.
For instance:
Say you had a directory named "dir_A"
And within this directory you had some files.
So:
dir_A
- file1
-... (5 Replies)
Discussion started by: kapolani
5 Replies
3. Shell Programming and Scripting
Hi there,
I have a query about cksum. I'm running a script on the Unix box and in a script the cksum result differs from when I run it manually. As far as I can see the file is not being changed, is there any other times that the cksum would be different. (4 Replies)
Discussion started by: rjsha1
4 Replies
4. Shell Programming and Scripting
hi,
I am trying to use the cksum feature in unix. when i make a call to it i get returned something along the lines of:
4603435 14 file3
how do i get the first part of this response only; i.e:
4603435
I'm trying to use at a way without the use of sed and creating temp... (4 Replies)
Discussion started by: leeRoberts2007
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
On what factors does the cksum depend.
If i build 2 machines exactly the same, then can i get the checksum of 2 compiled files same.
Thanks (3 Replies)
Discussion started by: vibhor_agarwali
3 Replies
6. Shell Programming and Scripting
Hi all,
So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies
7. UNIX for Advanced & Expert Users
Hello!
For long I used cksum to find file duplicates in linux and darwin.
Now I want to make my own program that does all.
However I can't seem to find the correct algorithm.
zip and cksum claim to use the same algorithm, but the computated sums are not the same.
I've already written an... (4 Replies)
Discussion started by: regnevakrad
4 Replies
8. Shell Programming and Scripting
I would like to list all files in a directory tree but with a prepended digest hash code (like CRC32). CRC32 is not a MUST. If suitable another hash code can be used as well. In case of CRC32 the listing should look like
3765AC \usr\bin\spool
23CE99 \usr\bin\spool\list.h
...
11AA04... (3 Replies)
Discussion started by: pstein
3 Replies