initialize new struct msg_digest