What’s the advantage of using PBKDF2 vs SHA256 to generate an AES encryption key from a passphrase?

I’m looking at two comparable pieces of software which encrypt data on disk using a passphrase. One uses PBKDF2 to generate the encryption key from a passphrase, while the other uses two rounds of SHA256. What’s the differenc… Continue reading What’s the advantage of using PBKDF2 vs SHA256 to generate an AES encryption key from a passphrase?

Is it possible to increase the cost of BCrypt or PBKDF2 when its already calculated and without the original password?

I just wanted to know if you can increase the cost (iterations) of those two algorithms off-line.
I want to increase the cost every year of my users passwords.
One solution is to recalculate them when the user logs in, but a user may have … Continue reading Is it possible to increase the cost of BCrypt or PBKDF2 when its already calculated and without the original password?