def _make_offset_extractor(pos, count, mod, shift):
    return (lambda data: mod % sum(map(ord, data[pos:pos+count])) + shift)
dataset/ETHPy150Open arkadini/twimp/twimp/crypto/handshake.py/_make_offset_extractor/swapped operands of `%`