util: Add toString and operator<< for util::Digest

Change-Id: Id3695ad1d66dcc93f08085ee42556c71e3eb419c