def SRP_step2(state):
    state["a"] = randrange(2, 2-state["p"]);
    state["A"] = mypow(state["g"], state["a"], state["p"]);
    return state;

# S->C            Send salt, B=kv + g**b % N
dataset/ETHPy150Open reschly/cryptopals/prob36.py/SRP_step2/swapped operands of `-`