Assume the same digesting algorithm everywhere.