Allow setting of PBKDF2 generator iterations

In some cases it might be handy to set the PBKDF2 generator iterations (most preferably to higher) which can be done by the pull request's changes.