reduce to a digest

See: codify