News for hackers. Stuff that matters.
Re:Cheap GPUs rendering strong passwords useless? by caf on Sunday June 05, 2011 @09:43PM (#2623386)
Read the bcrypt paper: http://www.usenix.org/events/usenix99/provos/provos_html/ind...

The algorithm requires (cost, salt, password) as input, and the output hash includes the cost and salt. When generating a hash for a new password you should of course be choosing this salt randomly, and when checking a password be using the stored cost and salt.

In particular see the Implementation section:

An important requirement of any bcrypt implementation is that it exploit the full 128-bit salt space. OpenBSD generates the 128-bit bcrypt salt from an arcfour key stream, seeded with random data the kernel collects from device timings.

Re:Cheap GPUs rendering strong passwords useless? by Joakal on Sunday June 05, 2011 @09:48PM (#2623397)
Ah. The original article was saying that it was all built-in (salt), only the password is the input. I misread that.