Questions tagged [checksum]

A checksum is a value created from a binary file that can be used to validate its authenticity and integrity. An example of a checksum is MD4, MD5 and SHA-1.

157 questions
807
votes
31 answers

Is there a built-in checksum utility on Windows 7?

Is there a built-in checksum/hash utility on Windows 7?
user64996
  • 8,427
  • 5
  • 21
  • 16
64
votes
17 answers

Does an identical cryptographic hash or checksum for two files mean they are identical?

I have 2 excel documents and I want to check if they are exactly the same, apart from the file name. For example, the files are called fileone.xls and filetwo.xls. Apart from the file names, their contents are presumed to be identical but this is…
sam
  • 4,359
27
votes
7 answers

Does compiling a program twice produce a bit-for-bit identical binary?

If I were to compile a program into a single binary, make a checksum, and then recompile it on the same machine with the same compiler and compiler settings and checksum the recompiled program, would the checksum fail? If so, why is this? If not,…
David
  • 471
20
votes
6 answers

How to generate MD5 hash value for multiple files in a folder using cmd

As mentioned in this page, the command:CertUtil -hashfile yourFileName MD5can be used to obtain the MD5 hash value for a particular file. How can I find the MD5 hash values for multiple files in a folder using cmd?
Hari
  • 201
17
votes
3 answers

Microsoft Windows ISO checksums

Is there an official source for Windows ISO (XP+) checksums, online? Wanting to download some older Windows versions, for support purposes, but they don't appear to be available on Microsoft's website, so I am having to find 3rd party copies.
user66001
  • 1,319
16
votes
2 answers

Why do I get different results from Mac's shasum than from other shasum calculators?

I'm entering: appletree:~ somename$ shasum -a 512 <<< test And the output is: 0e3e75234abc68f4378a86b3f4b32a198ba301845b0cd6e50106e874345700cc6663a86c1ea125dc5e92be17c98f9a0f85ca9d5f595db2012f7cc3571945c123 - Then I go to some online hash…
15
votes
1 answer

Which file system automatically stores hashes of files?

Which file system automatically computes and stores hashes of files and later checks them at access to detect corruption?
13
votes
6 answers

How do I efficiently generate and validate file checksums?

I'd like to be able to capture and validate checksums for large-scale collections of files, typically nested within a complex directory hierarchy. Does every single file need a checksum? Are there ways to leverage the existing directory structure…
13
votes
7 answers

Any Built-In Checksum utility for Windows 10 using CRC-32?

Is there any Built-In Checksum utility for Windows 10 using CRC-32? I checked different answers which are old and mention certUtil, but that does not support CRC-32 or CRC-64. Update: I had also checked Is there a built-in checksum utility on…
13
votes
1 answer

How to get Btrfs verify checksum for one file?

Btrfs offers these commands to verify data integrity/checksums: btrfs scrub start | btrfs check --check-data-csum However, AFAIK those always verify whole filesystems; the path argument is to identify a filesystem on a device, not…
12
votes
5 answers

Do we really need to check the integrity of downloaded files?

I downloaded a huge amount of files, but discovered the use of md5 and sha as integrity checkers quite recently. From then I always prefer to check it for big downloaded files, even if I never found them to be corrupted. Do we really need to check…
maxpesa
  • 251
12
votes
1 answer

How does one verify the PGP RSA and/or DSA checksum signatures for putty?

To verify the download integrity of putty, how is the best way to first verify the "SHA-512: (RSA sig) | (DSA sig)" PGP signature of these check-sum files for putty? (I am guessing "sig" means signed.) From the putty download page: MD5: …
10
votes
1 answer

Does Windows calculate CRCs to check every file operation?

When Windows encounters a file corruption on a file system, it may return the following error message: Data error (cyclic redundancy check). This suggests Windows checks every file operation (copy, move, etc.) by calculating CRCs. Does Windows…
bwDraco
  • 46,683
10
votes
4 answers

how to verify whether a compressed .gz is corrupted or not?

I have many gz downloaded from the internet, and I would like to make sure they are not corrupted. Does the fact that I can open the archive with winzip on windows proves that everything is fine? I must find a way to check their integrity without…
ℕʘʘḆḽḘ
  • 301
  • 2
  • 4
  • 12
9
votes
2 answers

Is verifying a MD5 sum after copying 100GB of data safe?

I'm copying 100GB from a Windows 7 workstation to 2 external drives (if you have only one backup, then you have none). All files have a MD5 checksum. I've verified all MD5 checksums on the external disks after the copy, and they were all correct. I…
1
2 3
10 11