News for hackers. Stuff that matters.
Re:DecryptoCat by keeperofdakeys on Thursday July 04, 2013 @08:22PM (#5992989)
Scrypt is a Key Derivation Function, as well as a password hash, so it has a few uses. If you want to take many parameters, and make a random key, it will work well. If you want to record a secret value (ie. password database), it works incredibly well. If you want to use it on a password for something like AES-CBC, then you probably don't need it, since AES-CBC is already secure.

Most encryption algorithms are already designed to take a users key, and apply them in a secure fashion. Unless you aren't using such an algorithm, you should trust the crypto primitives that have already been built for you. Of course, many people will have special use cases, but they should already know what they are.

Re:DecryptoCat by sk5t on Thursday July 04, 2013 @10:53PM (#5993269)
I really can't recommend skipping a KDF for encryption on the basis that AES-CBC is "already secure." Use of a strong KDF has a direct bearing on the compute time required for an attacker to brute force the key.
Re:DecryptoCat by singlow on Sunday July 07, 2013 @12:44AM (#6001070)
I think he means that your AES-CBC should already be doing key derivation from the user supplied password.