sync-based-discovery: digest calculation added, not yet tested