Questions tagged [md5-file]

72 questions
0
votes
1 answer

MD5 from NSData is always diffrent

I create an MD5 of a file that is deployed with my bundle to decide if I need to import it. My problem is that when I create the MD5 is always different. Even when I call the MD5 method 10 times in a loop with the same data, I got different…
netshark1000
  • 7,245
  • 9
  • 59
  • 116
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

md5sum different values for the same content

I want to compare two files to check whether the second file is modified from the first file. For this implementation I have planned to compare the md5_file() of the both files. But the problem is the original file is created by the Unix line…
Santhanakumar
  • 382
  • 2
  • 15
0
votes
1 answer

How do you display an image that has been saved using md5 hashed value outside of web root?

I have a series of images I wish to display on a site using the HTML img tag. e.g. However the image is located in a different directory outside of the web root. (but still on same server). Moreover it has been saved as…
user1294886
  • 87
  • 11
0
votes
1 answer

adding md5-string to image-URLs worth it?

I'm dynamically generating a page by PHP. I am using the site's output string to generate a Etag and check that to send a 304 (not modified) when the site hasn't changed since the last request. I am now trying to improve the caching of the pictures…
basbebe
  • 567
  • 1
  • 9
  • 25
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
2 answers

md5 hash of hash

This is theoretical question but I am curious about it. What if I do this (code in PHP, but the language isn't really matter in this case): $value = ''; //starting value $repeat = false; while(true) { $value = md5($value); /*Save…
Ákos Nikházy
  • 1,276
  • 17
  • 33
0
votes
1 answer

debug.keystore opening with asking Open with promp

Hi from since morning i am trying to get MD5 finger print for Google API, Key but not able to get it,the main problem is i changed properties of debug.keystore file to Open With Microsoft Word so whenever i am trying to get it from command prompt…
Muni Mishra
  • 409
  • 2
  • 5
  • 16
-1
votes
1 answer

Plupload callback get file md5

Plupload plugin callback get uploaded file md5. Plupload has the same question, but others can't get the right answer. Below code is my test. please confirm. import spark-md5
meadhu
  • 11
  • 1
-1
votes
2 answers

How to manually write MD5 (to get the hash of a file) algorithm in Java?

Well, I kinda have a task where I have to take a file and generate MD5 hash of that file. Problem is that I can't really use any classes that would automate this processes so everything has to be programmed manually. And that prob would mean that I…
Jame Moore
  • 11
  • 2
-1
votes
1 answer

How to check a modified files with md5 (java)

Hi i want to create game launcher that check md5 so if user modified game files the game wouldn't start and display message to reinstall game and if user add more files to the game folder game start but it's will delete a file that user add. How the…
-1
votes
2 answers

md5_file is that "safe" comparison i php

I am about to build a simple document system in php. I would like to know if "md5_file()" is "safe" comparison for all filetypes. I don't know all filetypes in the system. But I need to be able to compare all types. Is there any alternatives?
groyk
  • 43
  • 3
1 2 3 4
5