Re:Cheap GPUs rendering strong passwords useless?
by djmdjm on Sunday June 05, 2011 @10:24PM
(#2623457)
> The code I provided above didn't show it, because the library simply generated it for me.
... and this is another reason why people should use one of the bcrypt() implementations for their language* - the API makes doing the wrong thing difficult or impossible.
* disclosure: I ported/wrote a couple of them
The bcrypt libraries that require users to explicitly provide a salt are themselves doing their users a (slight) disservice, by making it seem as if there was a reasonable option for salt generation other than simply using a CSPRNG.