Questions tagged [md5]

Cryptographic hash function with a 128-bit (16-byte) hash value. MD5 is no longer considered a secure hash and should not be used to protect sensitive information like passwords

MD5 is incredibly weak on modern computers, and can be easily broken. If you are looking to securely hash values, consider something stronger like bcrypt

MD5 (Message-Digest algorithm 5) is a widely used cryptographic hash function with a 128-bit (16-byte) hash value. Specified in RFC 1321, MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of files. However, it has been shown that MD5 is not collision resistant; as such, MD5 is not suitable for applications like SSL certificates or digital signatures that rely on this property. An MD5 hash is typically expressed as a 32-digit hexadecimal number.

References:

4054 questions
1
vote
1 answer

A same folder zipped once using phpzip and once using PclZip, the checksums of the 2 files should be differents?

Below is my question : Zip a folder 'F' using phpzip => checksum MD5 of the zip file = X Zip the same folder 'F' using PlcZip => checksum MD5 of the zip file = Y (X # Y) is this normal ? Thanks in advance for your reply. BR
Houssam Hsm
  • 125
  • 5
1
vote
1 answer

Adding an 'empty byte' to every file inside a folder?

I want the MD5 sum of every file to be changed, I'm thinking the best/easiest option is to add a single byte to every file (jpg, mp4, mpeg, etc) in the folder. Anyone have a script that does this on Windows or software for it?
Aedam
  • 141
  • 1
  • 9
1
vote
1 answer

How to find a collision of first 56 bits for MD5(MD5(x)) for input data with the same prefix?

I have a code to find the collision of the first 56 bits of the hash function: md5(md5(x)) (using the Floyd algorithm to find cycles). The script returns two strings (hare, tortoise) for which a collision occurs. How to modify this script to return…
1
vote
1 answer

How to get MD5 checksum from artifactory in Linux command line

I have to get the MD5 checksum from the artifactory link: www.artifactory_company_link/artifactory/webapp/#/artifacts/browse/tree/General/abc.html I have tried CURL -I artifactory_link. But didn't get the MD5 checksum.
1
vote
1 answer

How to get MD5 of a file using base64 encoding of the file in js (for validating s3 upload)

I want to upload a file to s3 and if I understand correctly, s3 returns me the ETag for the file, which is basically md5 hash of the file I've uploaded. I want to check if it is same with my local hash to see if its uploaded correctly. But I…
chickens
  • 19,976
  • 6
  • 58
  • 55
1
vote
2 answers

When i turn an java String into an md5 Hash, how can i decrypt it?

I am looking into md5 hashing in java with the MessageDigest Class, lets say I do that public void givenPassword_whenHashingUsingCommons_thenVerifying() { String hash = "35454B055CC325EA1AF2126E27707052"; String password = "ILoveJava"; …
1
vote
1 answer

How to translate to JavaScript this custom MD5 Java function

I have this custom function to calculate MD5 hash, written in Java. I can't change it. I need to translate it to JavaScript to use it on client side. I tried on my own but I can't manage with JavaScript data types (expecially Java char[])... Any…
bluish
  • 26,356
  • 27
  • 122
  • 180
1
vote
0 answers

Parsing Custom Java MD5 to JS

I'm trying to parse this Java library into Javascript and I'm having a bit of trouble trying to understand it but my understanding of it is as follows. Focusing on the MD5 aspects of createSign() Creates a Treemap of ascending Alphabetical…
1
vote
0 answers

PayFast md5 Hash Generator

I am testing a pay cart with Payfast. One thing they require is a signature which is a md5 hash based on, I quote: A security signature of the transmitted data taking the form of an MD5 hash of the submitted variables. The string from which the…
Wayne
  • 283
  • 1
  • 3
  • 21
1
vote
1 answer

MD5 Hash Doesn't Produce Correct Hash on Linux

I'm trying to hash some strings with md5 hashing algorithm in C (code taken from here), but can't seem to get it working on my Ubuntu vm; I get completely different hash for every string. Exactly the same code works just fine on Windows 10 (using…
1
vote
2 answers

Select and compare two files MD5 using Python

I would like to manipulate the code from an answer found in the following link: Compare md5 hashes of two files in python My expected outcome would be to search for the two files I want to compare, and then execute the rest of the script allowing…
Jaden-Dz99
  • 119
  • 8
1
vote
1 answer

Safari - wrong MD5-Content when deleting object

When I try to delete an Object on my Bucket with Chrome it works perfectly. When I try with Safari, I get this error: The Content-MD5 you specified did not match what we received. This is the curl string from Chrome: curl…
Vincent Audebert
  • 1,846
  • 2
  • 15
  • 28
1
vote
1 answer

Google Sheet/App Script - parameters don't match the method signature for Utilities.computeDigest

Can anyone help me understand what the following means please? Exception: The parameters don't match the method signature for Utilities.computeDigest. I'm trying to run a script that hashes filenames in my Google drive, but I keep getting the…
1
vote
2 answers

MD5 Hash Conversion

The basis of what I am trying to understand is how the MD5 Hash function can convert a string of arbitrary length to such a small length, yet still represent the entire string. I understand that it converts to a 128bit output which is composed of 16…
Euphoria
  • 77
  • 7
1
vote
1 answer

MySql use the column number to generate a password

For my little homework webpage I want to set up a login. The login will be the student's name, like: 张聪明 and the student's number, like: 1925010101 These are both in the table 19BE1. I have added a column: password The database is called…
Pedroski
  • 433
  • 1
  • 7
  • 16
1 2 3
99
100