The Schworak Site | Log In | Up One Level

File Hash

A file hash is a short string that represents the contents of a file. This string can be used to make sure the contents have not changed between the time the original file was created.

  • CRC32 - A cyclical redundancy algorithm function producing a 32-bit hash value. more
  • MD5 - A message-digest algorithm function producing a 128-bit hash value. more
  • SHA-1 - A message-digest algorithm function producing a 160-bit hash value. more
  • SHA-256 - A message-digest algorithm function of the SHA-2 family producing a 256-bit hash value. more
  • SHA-512 - A message-digest algorithm function of the SHA-2 family producing a 512-bit hash value. more

In general, simple CRC32 is fine when sending files to someone you know or when it isn't all that important to check for tampering or transfer errors. But in most cases you will want to use MD5 and SHA-1 hashing to be sure the file hasn't changed. For critical data, you may want to use SHA-256 or even higher.

All content on this site is copyright ©2004-2019 and is not to be reproduced without prior permission.