Move rest of digest fetching to digest.go.