Questions tagged [md5sum]
md5sum is a computer program that calculates and verifies 128-bit MD5 hashes, as described in RFC 1321.
29
questions
65
votes
2
answers
42k
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
12
answers
10k
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
3
answers
6k
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 ...
17
votes
8
answers
82k
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 ...
8
votes
3
answers
12k
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
1
answer
763
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
1
answer
3k
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
6
answers
3k
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, ...
3
votes
2
answers
4k
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 ...
2
votes
2
answers
1k
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
3
answers
3k
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 ...
2
votes
1
answer
1k
views
How to calculate hash value of a directory, is it possible?
I need to send someone a 10GB file that has inside several thousands of files.
I know that in Ubuntu you can use the next command in the terminal: md5sum <directory_name> and this returns a hash....
1
vote
1
answer
74
views
Batch file to output MD5 hash to a text file starting at a specific directory
@echo off
set "src_dir=C:\Users\\Documents\projects\Config\ABC"
set OUTFILE="C:\Users\Documents\Scriptoutput.txt"
echo %OUTFILE%
pushd %cd%
cd %src_dir%
for /r %%f in (*) do (
...
1
vote
1
answer
6k
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
1
answer
3k
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.
1
vote
1
answer
3k
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
1
answer
58
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
1
answer
206
views
When tar the same two packages,its md5 are not same
There are two packages with a file in it.
[root@build-production test]# ll
drwxr-xr-x. 2 root root 19 9月 18 07:58 pack1
drwxr-xr-x. 2 root root 19 9月 18 07:58 pack2
[root@build-production test]# ll ...
0
votes
1
answer
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
3
answers
98
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
1
answer
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
2
answers
5k
views
How to generate MD5 hash with a salt in command line?
password: rose
salt: jack123
MD5 hash value: bf57b6634a951e3ee7ff2bbfb6206ec0
The above-given output was generated on a website (http://md5.my-addr.com/md5_salted_hash-md5_salt_hash_generator_tool.php)...
0
votes
1
answer
490
views
With a time sorted List, How to insert a checksum for each file?
Time stamp example:
20211018_14:54:54.0596445490_Mon
Ubuntu 20.04.3 command below works, displaying
Directories and
Files and
Hidden files with:
Permissions, Time_Day, f or d, Path/fileName with
...
0
votes
1
answer
94
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
2
answers
313
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
1
answer
670
views
Trouble verifying md5 checksums created on Windows with Linux
Verifiying checksums inside a file usually works like this using Linux and md5sum.
md5sum -c file.md5
However, using it like this on a Windows file reveals errors, that took me a long while to ...
0
votes
1
answer
603
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
1
answer
584
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
0
answers
163
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 ...