Generating a message digest with Java, explained step-by-step with pictures

What is a message digest?