def generate_random_bytes(count):
    n = random.getrandbits(count * 8)
    fmt = '%%0%dx' % (count * 2)
    return (fmt % n).decode('hex')
dataset/ETHPy150Open arkadini/twimp/twimp/crypto/handshake.py/generate_random_bytes/original