News for hackers. Stuff that matters.
Re:Those 500K Bitcoins that caused the flash crash weren't real by jsprinkles on Thursday June 30, 2011 @09:29PM (#2716582)
What is the benefit of bcrypt over several million rounds of SHA-512? It seems to me that repeating the hash function is the adjustable work factor that bcrypt seeks to allow and SHA-2 is already in most languages without an additional library.
Re:Those 500K Bitcoins that caused the flash crash weren't real by rmc on Friday July 01, 2011 @05:21AM (#2717620)
What is the benefit of bcrypt over several million rounds of SHA-512?

Most advances in cracking cryptographic hashes is not from Moores law, but some insight or breakthrough in the underlying algorithm. i.e. someone figures out a way to make MD5 brute forcing 2^(lots) faster. Usually these are not done overnight, but are chipped away bit by bit.

We are getting there with SHA512. The edges are starting to give. Warning signs are apparent. Eventually someone will reduce it to nothingness. 1000 iterations of nothingness is nothing ness.

SHA-2 is already in most languages without an additional library.

Oh dear god this is a terrible way to make a security decision. You have to install software no matter what you do. Unless you're writing software with a magnet in raw machine code, you will have to install additional software. Take the few minutes to install the bcrypt library.

Re:Those 500K Bitcoins that caused the flash crash weren't real by idlewords on Thursday June 30, 2011 @11:14PM (#2716865)
When talking about DIY crypto, the question should be turned around - what's the benefit of this over just using bcrypt?
Re:Those 500K Bitcoins that caused the flash crash weren't real by pnathan on Friday July 01, 2011 @10:23AM (#2718435)
Well, one example might be if you were implementing your crypto in a language that doesn't have bcrypt bindings.

So you would either have to port bcrypt or use existing crypto code to approximate bcrypt-level security.

Re:Those 500K Bitcoins that caused the flash crash weren't real by maaku on Saturday July 02, 2011 @12:36PM (#2721856)
False choice. Why roll your own when either porting bindings to bcrypt or porting the bcrypt implementation to your language is easier and safer?
Re:Those 500K Bitcoins that caused the flash crash weren't real by Locke1689 on Thursday June 30, 2011 @11:30PM (#2716912)
No. Making Blowfish faster is equivalent to solving a hard cryptographic problem. We have a much weaker guarantee about SHA-512. While SHA is probably good enough, bcrypt is definitely better.
Re:Those 500K Bitcoins that caused the flash crash weren't real by tedunangst on Thursday June 30, 2011 @09:47PM (#2716642)
Not much. You are perhaps a little more likely to find super-tuned GPU/FPGA implementations of SHA2 than pessimized blowfish, but it's not inconceivable for someone to write the latter. bcrypt is easier to pronounce than PBKFD2.