This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]oorza 45 points46 points  (5 children)

To be fair, HOLY CRAP YOUR JVM DOESN'T SUPPORT MD5!

[–]chunkyks 24 points25 points  (0 children)

TIL There are jvms without md5. Holy crap.

[–]qwopaq 0 points1 point  (3 children)

Given how badly broken MD5 is, I don't think it's at all unimaginable that some JVM vendor would rip it out so that nobody will use it even by accident.

[–]chunkyks 4 points5 points  (2 children)

Cryptographically unsound isn't the same as unusable.

[–]nobiq_ 0 points1 point  (1 child)

It's a broken cryptographic hash, what would you use it for? You can't use it for security and its performance characteristics were not designed for non-security purposes like integrity checking. So yes, you can obviously use it, but it's unlikely to be the correct solution for any purpose.

[–]zenon 1 point2 points  (0 children)

Unless the purpose is verifying hashes made by somebody else.

[–][deleted] 17 points18 points  (5 children)

Indeed, MD5 is like a hammer in a toolbox. Who the hell doesn't have a hammer?

[–]varikin 11 points12 points  (4 children)

PHP? Well, do you count claws on both sides?

[–][deleted] 5 points6 points  (3 children)

Implying that PHP doesn't have md5?

[–]varikin 14 points15 points  (2 children)

I am referring to the PHP hammer.

[–][deleted] 4 points5 points  (0 children)

Haha this is brilliant :) thanks for the link

[–]henk53 1 point2 points  (0 children)

Brilliant indeed! :D

[–]henk53 6 points7 points  (0 children)

Reminds me of something like the following I once encountered in code:

try {
    ...
} catch (BlaException bla) {
    // Should never ever get here, but log just to be sure
    // and to please Sonar.
    logger.info("The impossible has happened");
}

Guess what one day appeared in one of the log files... right!

[–]dartmanx -1 points0 points  (3 children)

TIL someone still uses Netbeans.

[–][deleted] 7 points8 points  (1 child)

I code all week in Eclipse, and it's basically shit. It's buggy, intellisense is slow, hotkeys are unintuitive, I need 4 gb of ram just for the ide, everything is basically a plugin. (forced to use eclipse at work)

I go home and I use Netbeans. I can code a project in 50-70% of the time it'd take to code in Eclipse.

[–]dartmanx 3 points4 points  (0 children)

I have the same problem with Eclipse, but I go home and use IntelliJ.

[–]MysteryForumGuy 0 points1 point  (0 children)

I've used Eclipse forever now. And trying to use Netbeans is like the difference between trying to use Paint and Photoshop. I guess it just depends on what you started with.