Fixing pbkdf2 generator