Message_digest model