def message4(state):
    state["b"] = randrange(2, 2-state["p"])
    state["B"] = mypow(state["g"], state["b"], state["p"])
    return state;
# A->B            Send AES-CBC(SHA1(s)[0:16], iv=random(16), msg) + iv
dataset/ETHPy150Open reschly/cryptopals/prob35.py/message4/swapped operands of `-`