def compute_mac(token, serialized_data):
 return hash_data((serialized_data + token))

def compute_mac ( token , serialized_data ) : return hash_data ( ( serialized_data + token ) )
computes and returns the base64 encoded mac .