Questions tagged [md5-file]
72 questions
0
votes
1 answer
How to calculate MD5 for a file using PHP before uploading to Google Cloud
I am using the code example found at https://zatackcoder.com/upload-file-to-google-cloud-storage-using-php/ to upload a file to Google Cloud. Everything works fine (I am new to this so I'm just psyched to have it running!), but I recently read a…

user1848767
- 61
- 5
0
votes
0 answers
Create two different binaries with same size and same md5 hash
I have two different files: code1.c and code2.c, both of them already contain some C code (files contents differ).
I would like to compile both files preferably with the same compilation flags so I will end up with two binaries which would have same…

Awaaaaarghhh
- 191
- 3
- 16
0
votes
1 answer
How to compare two folders with their files and make sure they are the same
I want to compare two folders(they both have the same zip files). I want to make sure they are exactly the same. How can i achieve that?

user10751590
- 283
- 2
- 4
- 11
0
votes
0 answers
Convert md5 hash into png files with python
I download FCCM 100M dataset as md5 hash files. I want to convert them to pictures again, I have a text file with a bunch of hash ids. The file goes…

user1234
- 145
- 5
- 20
0
votes
1 answer
how to generate multiple uuid and md5 files in golang
Hi I've generated Md5 and uuid in golang but now I want generate it for multiple files using command line arguments, so what exactly I've to do. This is how I've generated my md5 and uuid:
package main
import (
"crypto/rand"
…
0
votes
2 answers
Does compression change the hash value?
I have a large file that I need to compress, however I need to ensure that the original file has the same hash value as the compressed one. I tried it on a smaller file, hash values are different but I am thinking that this might be because of…

michal111
- 400
- 4
- 18
0
votes
1 answer
What is the fastest way to generate MD5 code for a huge (140 GB) tar file in Fedora?
Recently I downloaded a big (140 GB) tar file and it has an MD5 code to verify the downloaded version.
I used md5sum filename to generate MD5 code and compare it with the original one. But, it seems that I should wait for a long time.
Is there a…

Ali Sharifi B.
- 595
- 1
- 6
- 15
0
votes
1 answer
how to create a file which contains an MD5 hash of another file in java?
I have an test.txt file. Then, i try to get the md5 string of that file by MessageDigest. But, my question is not that. My requirement is to create an test.txt.md5 file which contains the md5 string.
How can i do that in java?
Thank you every much!

MCT
- 21
- 5
0
votes
1 answer
Faster way to check if remote file has changed than md5_file()
I want to check if a remote file has changed before saving it to my server.
First I've checked if the file exists before executing a comparison using md5_file between the remote file and the local file, but this is really slow. Is there a faster way…

Kazuto
- 158
- 2
- 15
0
votes
1 answer
md5_file outputs different values for files with same contents
I've got a php test that generates an output file and compares it with a sample one previuosly generated. I make the comparison by using the php function "md5_file" with both files.
My problem is that even though both files have the exact same…

marcelo
- 23
- 3
0
votes
1 answer
PHP md5_file not the same on different machine
I have two simple PHP scripts: testHash.php and me.php. The testHash.php is simply doing a md5_file function to the me.php and printing out the result
testHash.php contains:

tangol100
- 21
- 4
0
votes
1 answer
0
votes
0 answers
When did md5_file and copy require absolute URIs?
I'm working on a Laravel 4 based project. I recently migrated to Laravel's Forge, where suddenly all of my relative URI based function calls to "copy" and "md5_file" suddenly stopped working. The solution I found on my own was to replace them all…

Michola Ultra
- 145
- 1
- 13
0
votes
1 answer
QT - QFile - slow read from file
I want to calculate MD5 hash of the file.
If I use fast_md5 with native lib http://twmacinta.com/myjava/fast_md5.php, then Java read file from HDD with 90 MB/s...120 MB/s and calc time is 70 seconds.
If I use QT
QCryptographicHash…

Arthur
- 3,253
- 7
- 43
- 75
0
votes
1 answer
PHP md5_file hash is not the same as other online hash generators
I am uploading a file using PHP which uses md5_hash to create a MD5 hash of the file.
When I upload that same file to other online MD5 hash generators they return something else.
Is there something I am doing wrong?
$MD5 =…

JonathanBristow
- 1,066
- 2
- 13
- 36