added message digest to message wrapper