Compatibility for hash_pbkdf2() in PHP versions >=5.3,<5.5.