What hash should be used to ensure file integrity?

Posted by Corey Ogburn on Super User See other posts from Super User or by Corey Ogburn
Published on 2012-09-21T15:15:50Z Indexed on 2012/09/21 15:41 UTC
Read the original article Hit count: 230

It's no secret that large files offered up for download often are coupled with their MD5 or SHA-1 hash so that after you download you can verify the file's integrity. Are these still the best algorithms to use for this?

Obviously these are very popular hashes that potential downloaders would have easy access to. Ignoring that factor, what hashes have the best properties for being used for this?

For example, bcrypt would be horrible for this. It's designed to be slow. That would suck to use on your 7.4 GB dual layer OS ISO you just downloaded when a 12 letter password might take up to a second with the right parameters.

© Super User or respective owner

Related posts about file-transfer

Related posts about hashing