Questions tagged [hashing]

196 questions
804
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,397
  • 4
  • 19
  • 16
64
votes
10 answers

How to take sha256sum of file and compare to check in one line?

I keep on finding myself wanting to download and check the integrity of the download immediately in a script, but I haven't been able to find the right incantation of…
tarabyte
  • 2,133
  • 7
  • 37
  • 42
49
votes
13 answers

sha1sum for a directory of directories

sha1sum ./path/to/directory/* | sha1sum the above was posted as a way to compute a sha1sum of a directory which contains files. This command fails if the directory includes more directories. Is there a way to recursively compute the sha1sum of a…
Ocasta Eshu
  • 956
  • 2
  • 9
  • 19
44
votes
10 answers

Is there an Excel function to create a hash value?

I'm working with a number of data lists that are keyed by document name. The document names, while very descriptive, are quite cumbersome if I need to view them on (up to 256 bytes is a lot of real estate) and I'd love to be able to create a smaller…
dwwilson66
  • 1,719
  • 13
  • 30
  • 43
35
votes
8 answers

Can a file be maliciously changed in a way that maintains its original SHA-1 Hash?

According to this article, and many others, SHA-1 is not secure. In my case, I am not concerned about passwords or digital certificates. I am concerned about file integrity. Is it reasonably possible for a file (e.g. an ISO image or executable file)…
misha256
  • 11,298
  • 6
  • 53
  • 69
32
votes
4 answers

Get the fingerprint of an existing SSH public key

This Question asks about getting the fingerprint of a SSH key while generating the new key with ssh-keygen. But how does one get determine the fingerprint of an existing public key in a .pub file? ➥ How to get: SHA256 hash of an existing…
Basil Bourque
  • 794
  • 2
  • 12
  • 21
29
votes
4 answers

Why is my command-line hash different from online MD5 hash results?

On a Mac OS X v10.5 (Leopard) PowerPC, if I do: echo "hello" | md5 on the command line, the result is: b1946ac92492d2347c6235b4d2611184 But if I enter hello into one of the online MD5 hash sites like http://md5online.net/, I…
pellea72
  • 333
  • 1
  • 3
  • 7
25
votes
3 answers

How can zero byte files generate a hash value?

How can a zero byte text file generate a hash when hashed with sha1sum, sha256sum etc? What data are the programs hashing to generate a hash value? Ta
Gizmo_the_Great
  • 583
  • 2
  • 7
  • 15
23
votes
1 answer

How do I recover the password of a RAR file on Mac OS X?

I'm running Mac OS X 10.6.2 and have been handed a couple of old files that need to be extracted. Old backups or finances or bills I believe. They are RAR files, and password protected. Is there a way to extract the hash from these files so I can…
Josh K
  • 12,747
  • 7
  • 41
  • 58
19
votes
6 answers

How to compare parts of files by hash?

I have one successfully downloaded file and another failed download (only the first 100 MB of a large file) which I suspect is the same file. To verify this, I'd like to check their hashes, but since I only have a part of the unsuccessfully…
sinned
  • 489
  • 6
  • 20
18
votes
5 answers

Why is MD5 still used heavily?

MD5 seems to have well documented vulnerabilities and yet it remains widespread in its usage. Does anyone have any reasons for it remaining a viable option when other alternatives (e.g. SHA-2) seem to be more robust?
David in Dakota
  • 391
  • 1
  • 3
  • 10
16
votes
8 answers

How can I generate an MD5 sum for a folder on Windows?

There are several posts about generating MD5 sums for files and/or folders on various Windows platforms. However, none of these worked for me. I tried: Windows CertUtil: CertUtil -hashfile myFileName MD5 returns "Access is denied" on all folders…
Klangen
  • 807
  • 2
  • 7
  • 10
16
votes
6 answers

Safe way to verify that a Microsoft ISO has not been tampered with

I'd like to make sure an ISO (disc image) I have for a Microsoft Windows 10 OS is genuine. The way I usually do this with any file is by computing a hash of the file and comparing the result to the expected hash (typically provided by the software…
BeetleJuice
  • 857
  • 2
  • 12
  • 21
15
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
  • 151
  • 1
  • 2
  • 4
13
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?
Adrian Panasiuk
  • 1,085
  • 1
  • 11
  • 14
1
2 3
13 14