Digests don't need to be long, use 7 chars of a SHA1 like the git short ref format.