Refactored out unnecessary Identity interface for Digest, and renanmed
to Key