Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
jonhyfun7056yI have php classes in school and my teacher uses md5 because "its easier" even tho i have introduced him to bcrypt
-
kinda disgusting how they omit the fact that md5 is not suitable for password hashing
"it's just one way hashing, like every other method" -
ynnk8836yokay i know that md5 shouldnt be used anylonger... but can one explain me why exactly?
is the algorithm itself unsecure? or because of all these "decryption databases"? I dont have to deal with crypto things... im just curious. please dont beat me up. -
Art3mis4976y@ynnk MD5 is so weak that its basically at the point of being plaintext-readable with an average PC and a suitable MD5-Cracking software. Furthermore, it's utterly broken. Hashing should always result in unique text, however, there is an attack for MD5 that generates a second input with the same hash from another input (collision attack).
Hope this helps a bit.. never ever use MD5, or for that matter, not even SHA unless bigger or equal than SHA-256. -
epse36616yI do have to point out not all their passwords are md5. 500px had been around for a while and apparently the old passwords were still md5 but more rece t ones were bcrypt.
I got a HIBP notif today... -
jonhyfun7056y@ynnk just search md5 decrypt online.. if your database breaches with md5 hashes, its the same as plain text..
-
C0D4681466y@epse the fact they they allow for MD5 after changing over to Bcrypt doesn’t make it any better, if you change , you change all, now their login process has two checks.
@ynnk MD5 is a simple mans hashing.
It was widely used as it took no time to implement. However as it became found to be very simple to dictionary attack and have multiple strings return the same hash the industry moved away from it for the right reasons.
The same goes for SHA1 as it’s been proven to have collisions as well.
@karma possibly, I never actually used flikr 🤔 -
@pain that is exactly what you do, you warn users to re enter their password because the security is getting stronger, and you set a period in which people will still be able to log in with their old password.
Afterwards, you make it prohibitive.
I don't see any other way. -
C0D4681466y@pain you do a full user password change, and then send out emails to tell users they’ll need to change their passwords in order to continue using the service.
It’s not hard. -
@ynnk I think I can expand on your question a bit further.
You asked if encryption dbs are the reason why MD5 is unsafe. I think not, since there are dbs for SHA512 too (a currently safe method).
One-way hashing algorithms are considered 'safe' if it is computationally impossible to find collisions, or finding an input string that results in a given hash.
A collision happens when two different input strings hashed on the same method, return the same result, or more appropriately called, digest.
https://en.wikipedia.org/wiki/...
Here's an MD5 collision shown graphically https://stackoverflow.com/a/933527/...
MD5 has a digest size of 128 bits, which is rather small for our current state of the art technology.
SHA512 OTOH, has a digest size of 512 bits, therefore it has a lot more combinations to distribute values evenly so as to make harder finding collisions, or an input string that results in a given hash. -
One more thing about the encryption dbs you mentioned.
They probably store values when using unsalted hashing methods (because it'd be computationally impossible to have a db for every salt of a hash method).
This means that one way hashing methods for sensitive data should always use salts (and never expose it ofc).
This way you protect yourself from these encryption dbs.
But with access to this salt, you could build an encryption db of your own.
Most frameworks take care of using salts for you, though.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
Oh fuck and boy Jesus, how on earth is this still a thing 😦
MD fucking 5 is not a fucking “secure” crypto algorithm.
This site has 14 million breached accounts with fucking MD5 hashes.
I think I’ve had to much internet for today.
rant
clueless
500px
wtf
breach
wk149
md5
data