Re:Vesper 2.0 and Vesper Sync
by zaroth on Wednesday May 28, 2014 @01:51AM
(#7808580)
Note, if your crypto.pbkdf2() is using SHA1 underneath, then 1,000 interations of SHA1 is very little computation for a GPU, which can do billions of SHA1 per second.
Re:Vesper 2.0 and Vesper Sync
by zaroth on Thursday May 29, 2014 @02:37AM
(#7815042)
I remember it feeling like a bigger deal reading about it at the time, but as you say, you're just throwing away half of the stretching, reducing attack cost by half.
Also, asking for 32 bytes from PBKDF2-HMAC-SHA1 has some bad side-effects, particularly if you are splitting up the result. (1Password got bitten by this, and wrote up the issue here: http://blog.agilebits.com/wp-content/uploads/2013/07/playing...)