Make sure pbkdf2 uses str type instead of unicode type