def signing_bytes(uid, nonce):
    """
    Returns list of bytes.

    Parameters:
        uid: string 
        nonce: int
    """
    sbs = f'{uid}{nonce}'
    return sbs.encode('utf-8')
    #return bytearray(sbs.encode())