def split_function(payload):
 return (payload[:(- append_size)], payload)

def split_function ( payload ) : return ( payload [ : ( - append_size ) ] , payload )
this function splits the signature message in parts .