md5sum is a computer program that calculates and verifies 128-bit MD5 hashes, as described in RFC 1321.
Questions tagged [md5sum]
329 questions
0
votes
2 answers
perl array improperly assigning values to indices (keeps overwriting same index)
I am reading the files of a directory into an array. From there, I want to calculate the md5sum of each file from the array and store the fingerprint with filename into another array. For some reason, with the following code, my script seems to…
user2756257
0
votes
1 answer
How can I execute the md5sum command on the files stored in this array in Perl?
I am running a perl script to calculate the md5sum of each file in a directory. So far, I have the filenames stored in a @files array. I want to call md5sum system command on each filename in the array and print the output to standard output?
Here…
user2756257
0
votes
2 answers
MD5 and SHA-1 Hash value generation
How to generate MD5 hash value for a file?
I mean the working of it how is the value generated or you can say which logic is used so that i get the hash value
Explain me in very simple words or diagram
Also tell me in Simple words.How is the Hash…
0
votes
2 answers
Pythons hashlib producing different hash value than the original hash
I saved this piece of code as hash.py and when I produce the hash of this file it gives me a hash totally differing from the inbuilt (using KUbuntu 13.04), Now why is that so ? Aren't they both supposed to produce the same result. I also have to…

vikkyhacks
- 3,190
- 9
- 32
- 47
0
votes
1 answer
How does rpm checks md5sum of installed files?
When does rpm database get populated? specifically, we can check md5sums of installed files using rpm -V . rpm verifies this against the database. So the question is md5sums in the database will be created during build time or install time?

user2541426
- 11
- 3
0
votes
1 answer
How compare two paired list in bash?
I'm trying to compare a remote md5sum result from some files into a server, with my local md5sum files and those that match, the hash and the filename should be removed from the local server.
The whole algorithm about get the md5sum from both is…

Valter Silva
- 16,446
- 52
- 137
- 218
0
votes
2 answers
verify md5sum on android
I would like to offer a md5 verifier in my android app which compares the server md5 and the just created one on the device.
The output should be like correct or incorrect and not that the user has to compare the hashes.
I already found out that…

yanniks
- 299
- 1
- 6
- 17
0
votes
2 answers
(Bash) rename files but give it a new extension that will count up.. (md5sum)
I need to rename all files in a folder and give it a new file extension. I know how I can rename files with bash. The problem I have is, I need to rename it to:
file.01 file.02 file.03 and counting up for all files found.
Can somebody provide me an…

user1997874
- 33
- 5
0
votes
1 answer
MD5 computation
In md5 computation algorithm there is a function
// decodes input (unsigned char) into output (uint4). Assumes len is a multiple of 4.
void MD5::decode(uint4 output[], const uint1 input[], size_type len)
{
for (unsigned int i = 0, j = 0; j <…

flashnik
- 1,900
- 4
- 19
- 38
0
votes
1 answer
Unable to create the md5sum file I need to create. Manually doing it would be far too labour-intensive
I need to create/recreate an md5sum file for all files in a directory and all files in all sub-directories of that directory.
I am using a rockettheme template that requires a valid md5sum document and I have made changes to the files, so the…

Ali Samii
- 1,672
- 4
- 28
- 49
0
votes
3 answers
c# hash and php MD5 file/folder hash not the same
I have to MD5 hash files/folders on both a client(C#) and a server(PHP) file structure. (Server land is PHP and client land is c#.) The problem is while they work they do not match. Any ideas would be greatly appreciated
Here are my two…

conners
- 1,420
- 4
- 18
- 28
0
votes
0 answers
QCryptographicHash :: Md5 and bash md5sum
I need to link together sqlite database with unique external files. To ensure this, I made a table that stores a hash of file and encountered the following problem - QCryptographicHash::Md5 result is not the same as bash md5sum result. Can anyone…

aknew
- 1,101
- 7
- 23
-1
votes
5 answers
Bash /shell/ script md5 hash tree output to .csv file
i need bash /shell/ script to md5sum hash all current directory tree files to one single .csv file like this :
"index.php","add95c73ccafa79b4936cf7236a074f4"
"logs/index.html","1c7b413c3fa39d0fed40556d2658ac73"
Thank You very much ;)

Evan Pal McDan
- 53
- 1
- 6
-1
votes
1 answer
Difference between echo and printf in Bash
I am reading lines of a file, converting each one to an md5 hash, and writing it to a second file. I have been getting different results based on using printf and echo.
printf $line | md5sum | awk '{print $1}' >> md5File.txt
echo $line | md5sum |…

Jav_Py
- 41
- 8
-1
votes
1 answer
predict md5sum string
Is there a way to make a small text file produce an md5sum of all 0's.
Or any easy testable string that the likes of perl could test with.
sha could be used if that gives me the result I am after, to simple have a file on my removable storage…

Ianox
- 1
- 3