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
0 answers

Block MD5 hashing in Rails

Our requirement is to block MD5 hashing in our Rails application. This would be really helpful because MD5 is prohibited on the servers, on which the application is going to be deployed. It is not just direct MD5 hashing that needs to be blocked,…
1
vote
1 answer

How to get a checksum that represents a collection of files?

I want to figure out if given a set of files, if there happened to be a change in any of those files. I know for a single file you can use this approach which gets a checksum value that you can use to check if a change happened. I.e. This returns…
elllo
  • 79
  • 2
  • 9
1
vote
1 answer

Import MD5 passwords in Firebase Authentication

I am after importing identities into Firebase including password hashes. The legacy password hash algo is a salted MD5 with 16384 rounds, which seems to be common in some Drupal or Typo3 instances. It seems that Firebase supports only 8192 rounds…
dmudro
  • 2,894
  • 1
  • 21
  • 23
1
vote
1 answer

Can android throw NoSuchAlgorithmException for MD5

Android's MessageDigest page says MD5 is supported from day one - https://developer.android.com/reference/java/security/MessageDigest But the MessageDigest.getInstance("MD5") method can throw NoSuchAlgorithmException and there is no getMD5Instance…
arunskrish
  • 417
  • 6
  • 13
1
vote
0 answers

MD5 hashes differs between .NET and dart/flutter

I'm trying to send hashed token to server which is written in .NET, but I get different hashes when using MD5 in Dart. Any help would be appreciated DART CODE: import 'dart:convert'; import 'package:crypto/crypto.dart'; static String…
user11319228
1
vote
1 answer

problem with MD5 in simulator and device(ipad)

i used a MD5 algorithm to create unique string/name for a same image..so i tested with simulator vs ipad. i downloaded one image in Simulator using safari and created MD5 string for that.it working fine in simulator.in simulator its always creating…
Vipin
  • 4,718
  • 12
  • 54
  • 81
1
vote
1 answer

Does a computed value column lock the entire table and reupdate to newer values?

I am looking into created an MD5 checksum persisted computed value for SQL Server 2008. There is gigabytes of data in this particular table(not my design) and I would like to know if I create the new computed column will this lock the entire table…
Jeremy
  • 3,880
  • 3
  • 35
  • 42
1
vote
2 answers

HTTP Digest Authentication MD5 Collision

MD5 hashes are now considered broken, because collision might happen. Is this problematic for HTTP digest authentication?
Hamid
  • 21
  • 3
1
vote
1 answer

Javascript md5 hash of different arrays yields same value

Using the md5 npm module, I'm trying to understand why running the following command with two different input values would yield the same hashed value. const value1 = ["test1"]; const value2 = ["test2"]; const result1 = md5(value1); const result2 =…
hyprstack
  • 4,043
  • 6
  • 46
  • 89
1
vote
0 answers

PHP MD5 Hash Algorithm giving wrong hash

As part of my A-level coursework I have created an MD5 hashing algorithm. I have spent a long time trying to figure out how it works yet I don't get the right hash for the input string. // Conversion of password to binary $String = "ab"; …
Abbey
  • 11
  • 1
1
vote
0 answers

Rails Devise: Don't check password salt when authenticating

I'm migrating a PHP site over to Rails using Devise as the authentication method. The old site uses md5(salt + password) to authenticate users so I wrote a custom Devise encryptor as such: module Devise module Encryptors class Md5 < Base …
Devin
  • 851
  • 12
  • 32
1
vote
2 answers

Hash Function MD5 30 length

From a given string I am generating 32 digit unique hash code using MD5 MessageDigest.getInstance("MD5") .digest("SOME-BIG-STRING").map("%02x".format(_)).mkString //output: 47a8899bdd7213fb1baab6cd493474b4 Is it possible to…
Sumeet Kumar Yadav
  • 11,912
  • 6
  • 43
  • 80
1
vote
2 answers

The maximum number of characters of the md5 input

How many maximum characters can be in the $string variable? $string = 'test'; echo md5($string); Thank you in advance for your answers.
ModaL
  • 189
  • 1
  • 1
  • 9
1
vote
3 answers
1
vote
1 answer

Implementing Digest-MD5 in J2ME: How to compute the 16 octet MD5 hash of a String?

I am implementing digest-md5 in J2ME.In the computation of the client response, the following steps are given: Create a string of the form "username:realm:password". Call this string X. Compute the 16 octet MD5 hash of X. Call the result Y. Create…
Kenneth
  • 11
  • 2