"need a quick hashing method"

Rashkae ubuntu at tigershaunt.com
Mon Nov 22 15:03:21 UTC 2010


On 10-11-22 07:17 AM, Arthur Bela wrote:
> HDD#1
> HDD#2
>
> I copy files between HDD#1 and HDD#2.
>
> When i finish, i need a quick "hasing method" - i just want to check,
> that the copy was 100% ok.
>
> md5sum, sha256sum is slow ->  are there any "very fast" hash algoritms?
> - just for checking if the copied file is corrupt or not [i just need
> to know, if there were even 1 Byte error when copying]
>
>    

md5sum slow??? Are you trying to do this on a 386?

No matter how fast a hashing algorithm you use, if you are trying to 
verify that not a single byte is corrupt, you need to read every byte 
from the hard drive.  The only way you will make this go faster is to 
use a faster hard drive (or start experimenting with Raid 0 / Raid 5 Arrays)





More information about the ubuntu-users mailing list