remove dependency on ::Chef::Digester and replace with internal module