Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Save space with CRC

by perlfan (Curate)
on Dec 19, 2007 at 20:19 UTC ( #657965=note: print w/replies, xml ) Need Help??


in reply to Re^2: Save space with CRC
in thread Save space with CRC

If you take into account MD5 of the file in addition to some other factors, such as file size or hash of the reverse of the file, you'll be okay. Also, CRC is used to detect errors in data trasmission or storage - not for comparing two files.

Replies are listed 'Best First'.
Re^4: Save space with CRC
by Anonymous Monk on Dec 20, 2007 at 00:58 UTC

    Thk perlfan too, other very well suggestion is use "hash of the reverse of the file" I dont thinking in that but is really good.

    Please note that CRC is mostly used to check transmition but in fact the CRC is a "simple" method to transform any size of input data in a fix integer size, not less, not more, you can use that to anything that you want.

    The bad think about this it's very short an can be colition.

    Thk a lot to all.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://657965]
help
Chatterbox?
[Corion]: Well, no computer will start up without the blood sacrifice being made!
[Corion]: I used to cut me on PC cases, but they've gotten better or I don't let blood that easy anymore ;)
[Corion]: You say the girls may strip with your permission, You draw the line dividing art from sin :-D

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-01-16 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.