add digest utility