assert digest to be restricted