def pbkdf2_bin(data, salt, iterations=1000, key_len=24, hash_func=None):
    hash_func = hash_func or hashlib.sha1
    mac = hmac.new(data, None, hash_func)
    def _pseudo_random(x):
        h = mac.copy()
        h.update(x)
        return h.digest()
    buf = bytearray()
    for block in range(1, -(-key_len // mac.digest_size) + 1):
        rv = u = _pseudo_random(salt + _pack_int(block))
        for i in range(iterations - 1):
            u = _pseudo_random(u)
            rv = starmap(xor, zip(rv, u))
        buf.extend(rv)
    return bytes(buf[:key_len])
Retrieve the Type (if any) of the entity pointed at by the cursor.
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/util/pdkdf2.py/pbkdf2_bin--crossover with--dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/Cursor.type