News for hackers. Stuff that matters.
Re:How I became a password cracker by shanelja on Monday March 25, 2013 @12:00AM (#5435381)
Bcrypt uses the blowfish encryption algorithm published by Bruce Schneier in 1993. [1]

I do.

[1] http://bcrypt.sourceforge.net/

Re:How I became a password cracker by stouset on Monday March 25, 2013 @10:34PM (#5441066)
If you use bcrypt, there is literally no reason to go through the manual "salting" process you describe.
Re:How I became a password cracker by pjscott on Monday March 25, 2013 @01:36AM (#5435656)
Bcrypt uses Blowfish, but it is not Blowfish.
Re:How I became a password cracker by shanelja on Monday March 25, 2013 @01:42AM (#5435674)
Sorry, I didn't think my last comment needed clarifying any further - I actively use the bcrypt class for password hashing - I said Blowfish originally as I was comparing hashing algorithms.
Re:How I became a password cracker by pjscott on Monday March 25, 2013 @02:47AM (#5435804)
Blowfish is a block cipher, not a hashing algorithm.
Re:How I became a password cracker by shared4you on Monday March 25, 2013 @04:11AM (#5435945)
I'm no expert, but [1] says:

> bcrypt is an adaptive password hashing algorithm

[1]: http://codahale.com/how-to-safely-store-a-password/

Re:How I became a password cracker by pjscott on Monday March 25, 2013 @01:53PM (#5438485)
Bcrypt is an adaptive password hashing algorithm. Blowfish is a block cipher.
Re:How I became a password cracker by alexkus on Monday March 25, 2013 @04:14AM (#5435952)
Most encryption algorithms (including block ciphers) can be used as a hashing algorithm for passwords.

Just encrypt a common known plaintext string and use the password as the encryption key. This is exactly how various hashing schemes like UNIX's crypt() (based on DES) work.

Knowing the plaintext (e.g. a set of NUL bytes) is useless as long as the encryption scheme doesn't have a weakness against known-plaintext attacks [EDIT] that allow you to recover the encryption key somehow.

Re:How I became a password cracker by pjscott on Monday March 25, 2013 @01:55PM (#5438496)
Yes, and Blowfish (or rather, a variant of it with an expensive key schedule) is used as the main building block of Bcrypt in roughly the way you describe. That doesn't mean that Blowfish is Bcrypt.

I feel like such a pedantic dick for harping on this, but the distinction is worth making.

Re:How I became a password cracker by chickopozo on Monday March 25, 2013 @05:44AM (#5436223)
Encryption does not provide Integrity (hash) or authentication (mac)

crypt(1) should be an example of how not to do hashing.

Re:How I became a password cracker by alexkus on Monday March 25, 2013 @05:54AM (#5436241)
Perfectly true, but those points are irrelevant for password hashing.