r/programming •

Project Euler hacked - "we have reason to suspect that all or parts of the database may have compromised"

[deleted] — view deleted post

0 Upvotes

352 comments sorted by

View all comments

Show parent comment

13

u/netsec_burn Jun 16 '14 edited Jun 16 '14

Your post gave me cancer, and so did that link.

Myth #3: MD5 is less secure for password hashing than other algorithms like SHA.

Are you kidding me? This citation is way out of date. MD5 has VERIFIED COLLISIONS. MD5 signed certificates have been FORGED. Binary signatures have been COLLIDED. You can brute MD5 at billions of hashes per second on a commercial GPU. SHA is way less susceptible to brute force attacks, and has no collisions. Salted MD5 is barely safer than raw MD5.

Edit: On my way to chemotherapy now

4

u/Kapps Jun 16 '14

Being able to generate a collision doesn't matter for storing passwords. The problem is the fact that MD5 is so fast to brute force.

1

u/netsec_burn Jun 17 '14

To a degree, it actually does. With a disclosed hash and no password, you can collide it and log into a service using the collision.

-10

u/Smarag Jun 16 '14

Your post is bullshit. There is no such thing as a hashing algorithm with no collisions. The longer the hash the more collisions.

What do you mean by verified collisions?

The rest of your post is irrelevant for password security.

9

u/Igglyboo Jun 16 '14

The longer the hash the more collisions.

This is false. Longer hashes have less collisions(technically all hashing functions have infinite collisions) because you can represent more messages with more bits. It's like comp sci 101, you can represent more messages with 2 bits than you can 1 bit.

5

u/netsec_burn Jun 16 '14

Jesus. Verified collision:

d131dd02c5e6eec4693d9a0698aff95c 2fcab58712467eab4004583eb8fb7f89 55ad340609f4b30283e488832571415a 085125e8f7cdc99fd91dbdf280373c5b d8823e3156348f5bae6dacd436c919c6 dd53e2b487da03fd02396306d248cda0 e99f33420f577ee8ce54b67080a80d1e c69821bcb6a8839396f9652b6ff72a70

and

d131dd02c5e6eec4693d9a0698aff95c 2fcab50712467eab4004583eb8fb7f89 55ad340609f4b30283e4888325f1415a 085125e8f7cdc99fd91dbd7280373c5b d8823e3156348f5bae6dacd436c919c6 dd53e23487da03fd02396306d248cda0 e99f33420f577ee8ce54b67080280d1e c69821bcb6a8839396f965ab6ff72a70

Both hash to 79054025255fb1a26e4bc422aef54eb4.

Source: http://www.mscs.dal.ca/~selinger/md5collision/

| There is no such thing as a hashing algorithm with no collisions The longer the hash the more collisions.

Now you're just trolling.

0

u/Smarag Jun 16 '14

And what exactly have verified xollisions to do with password security..? This doesn't allow you to reverse engine a hash.

No such thing as a collision free hashing algorithm: http://crypto.stackexchange.com/a/8766

It's not a hashing function if it's collision free.

10

u/[deleted] Jun 16 '14 edited Jun 16 '14

There's no such thing as collision free hashing function, but there is a such thing as collision resistant hashing function. That's probably what he meant by saying there are verified collision. MD5 isn't considered collision resistant anymore.

1

u/TheOccasionalTachyon Jun 16 '14

It's not a hashing function if it's collision free.

That's not true. All perfect hash functions are collision free.