Fixed bug in checking if pbkdf2 is implemented. It was not enough to init a cipher object, it had to try to encrypt something to rescue