measure digest