Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [md5sum]

md5sum is a computer program that calculates and verifies 128-bit MD5 hashes, as described in RFC 1321.

Filter by
Sorted by
Tagged with
60
votes
2answers
39k views

The MD5 hash value is different from Bash and PHP [duplicate]

I tried to generate the MD5 sum (using md5sum) of a string, "hello". I tried out different methods as the md5sum tool in Linux, PHP's MD5() function as well as various online text to md5sum ...
39
votes
12answers
9k views

What is the value of MD5 checksums if the MD5 hash itself could potentially also have been manipulated?

Downloads on websites sometimes have an MD5 checksum, allowing people to confirm the integrity of the file. I have heard this is to allow not only corrupted files to be instantly identified before ...
27
votes
3answers
5k views

How accurate is `md5sum`?

When using md5sum to verify the integrity of a file, how accurate is the process? Does a verified MD5 mean that EVERY bit is exactly the same, or is there a threshold that must be broken before ...
7
votes
3answers
17k views

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 ...
7
votes
3answers
7k views

Find all duplicate files by MD5 hash

I'm trying to find all duplicate files (based on MD5 hash) and ordered by file size. So far I have this: find . -type f -print0 | xargs -0 -I "{}" sh -c 'md5sum "{}" | cut -f1 -d " " | tr "\n" " "; ...
6
votes
1answer
415 views

List files bigger than specified size, then create md5sum or sha256sum of them

I'd like to know how to create a list with md5sums from files in the current directory - files that are over a specified size. I can do one or the other, but I don't know how to combine the two.
4
votes
1answer
2k views

Why does tar with -z option create archive with different hash everytime

Can you tell me why tar czf archive.tar dir creates archive with different hash everytime (I check with 'md5sum') Without compression parameter -z or with parameter -j instead all works fine. Thanks
3
votes
6answers
2k views

Compute md5sum of every 1MB part of stream from pipe

I want to do checksumming of large files and stream in unix/linux, and I want get many checksums from every large part of file/stream, every 1 MB or every 10MB. For example, I have disk image, ...
2
votes
2answers
648 views

Recursively md5 files compared to stored .md5 file

What is the best way to MD5 3200 files in 167 directories using md5sum where all hashes are compared to a .md5 file that is already created in each directory holding the files to be check summed. I ...
2
votes
3answers
2k views

Finding a file by md5sum

Given the md5sum of a file, I want to know if anywhere else in the directory tree is another file with the same md5sum (but maybe under a different name). How can I do that in bash? P.S.: To ...
1
vote
2answers
1k views

Md5 checksum different after gunzip and gzip

I accidentally deleted a handful of gzipped files from a folder. Thankfully, I had uncompressed them in a different location, and am in the process of restoring them. I had the md5 checksums for the ...
1
vote
1answer
2k views

Why does my md5sum hash not match other md5s?

So for a school assignment we are working with hashes. However I've encountered a problem where my file.txt containing: test hashes test hashes without quotes doesn't match the hash from HashCalc (...
1
vote
0answers
822 views

Batch script - calculating md5 hashes for all files in c: drive

I'm trying to figure out how to setup specific location where I want to start calculating hashes ? Let's say I would like to start calculating md5 hashes for all files on c:\ drive and files included ...
1
vote
1answer
52 views

Quickly Maintain Database of sha256sums? [closed]

I have many different disks (primarily harddisks) storing various files. I want to know that they are all backed up in some form. Given that I have terabytes of files somehow (backups of backups ...
0
votes
1answer
1k views

How can I compute an md5sum on Macintosh OSX Lion?

How can I compute an md5sum on Macintosh OSX Lion? Is it built in to the OS or do I need to download an application?
0
votes
3answers
44 views

How to tell what files are different on two servers

here we can see that md5sums of this two directories are different, how to tell if the folder structures or some certain files are the reason of this difference? [skynet]~> ssh evn-web04 'find /www/...
0
votes
1answer
4k views

MD5 hash of original Windows 8 pro iso file

What is the MD5 hash of the original Win 8 Professional ISO (upgrade version)? I downloaded the file over multiple download sessions, and want to make sure that the file is not corrupted. Does the ...
0
votes
1answer
69 views

Hashutils to recurse the whole drive

Following this post another super user question, I downloaded hashutils. Works great with with the -r flag to recurse a folder. However, I am unable to recurse a whole drive. Trying this command, the ...
0
votes
2answers
228 views

find duplicate files by size and MDF

I am writing script to search for dups files and group them by size and then by their MD5 check sum. here is my script: find . -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type ...
0
votes
1answer
468 views

Update-Packages hash sum mismatch due to GPG error

syndaemon: no process found /etc/mdm/Xsession: Beginning session setup... localuser:imnobody being added to access control list Script for none started at run_im. Script for auto started at run_im. ...
0
votes
1answer
2k views

Rename files by md5 checksum [closed]

What program can I use to rename files with their calculated md5 checksums? GUI or CLI Programs for Linux or Windows or scripts for DOS or the Linux terminal.
0
votes
1answer
130 views

How to print md5sum on separate line?

I am trying to calculate the md5 hash of a string (say 'hunter5'). To do this, I run md5sum , type or paste the string, then type Control-D (EOT) twice. > md5sum ...
0
votes
0answers
117 views

How to verify download of TortoiseHg software for Windows

When installing software onto my PC, I generally like to run a hash check against my download before installing it. Many download pages provide an MD5sum to use for this kind of check. See: Some ...