def pbkdf2(val, salt, iterations, dklen, func): return _pbkdf2(val, salt, iterations, dklen, ("hmac-" + func).encode("utf-8"))