My function is as follows:
pbkdf2($raw_pw,$salt,1000,128)
1000 is the number of passes, and 128 is the key size. The function returns a binary key which I use base64 to store it in the database.
My question is: what's the recommended keysize and salt size for pbkdf2 using sha512?
will a keysize of 32 be just as secure as a keysize of 128?