def pbkdf2_single(password, salt, key_length, prf):

    block_number = 0
    result = b''

    # The iterations
    while len(result) < key_length:
        block_number += 1
        result += prf(password, salt + struct.pack('>L', block_number))

    return result[:key_length]
Add a network to the configuration.
dataset/ETHPy150Open ricmoo/pyscrypt/pyscrypt/hash.py/pbkdf2_single--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter._UnlockedAddNetwork