I need to verify the contents of zip files generated by a python application. I expect that every time we run the app, it generates the exactly same zip file with same contents (when giving a same input). By contents, I mean only the contents of the files being compressed, not the meta-information of these files or the zip files.
The problem is the zip files reserve some meta-information such as the creation time of each files, which are different every time running the application. These zip files, unfortunately, may contain millions of small files, which make it very unpleasant to extract and calculate the hash value for each small files.
What are good ways to do such test? I have been trying the "md5" method from hashlib, i.e., comparing the md5 value of the zip file to a previously calculated value. However the md5 value is different each time running the app because the meta-information is different. Any idea how can I do this test? I don't mind extracting and re-zipping it using the same meta-info if possible. Note the zip files contain multiple layer of directories.
I want to use Obnam as my backup solution for my webserver. I have a open question that I cannot find an answer for ,
Obnam uses MD5 to see if a file is changed.
now I want to backup file "A"
Thanks in advance
I'm using iTextSharp to read the text from a PDF file. However, there are times I cannot extract text, because the PDF file is only containing images. I download the same PDF files everyday, and I want to see if the PDF has been modified. If the text and modification date cannot be obtained, is a MD5 checksum the most reliable way to tell if the file has changed?
If it is, some code samples would be appreciated, because I don't have much experience with cryptography.
I want to calculate md5 hash codes from strings in a playgroundbook,but i got this error message, but i included it as this way:
I can not use these: CC_MD5, CC_LONG, CC_MD5_DIGES_LENGTH etc,etc.
I need to generate an MD5 in my application.
I've tried google but only find PHP code for MD5. I need to connect to a client system that validates using MD5 hash but their code is in PHP, mine is in Classic ASP using VBScript.
My server is .Net supported so I cannot use the PHP script. Is there any such MD5 code for VBScript in Classic ASP?