The output format of md5sum and other checksum programs is well-defined, which lets you use the -c switch to verify. This is the format you see in checksum files when downloading source tarballs, distro ISOs, packages, etc.
$ echo hello > fileone
$ echo there > filetwo
$ md5sum fileone filetwo | tee /tmp/ck
b1946ac92492d2347c6235b4d2611184 fileone
c4ff45bb1fab99f9164b7fec14b2292a filetwo
$ md5sum -c /tmp/ck
fileone: OK
filetwo: OK
$ echo oops > filetwo
$ md5sum -c /tmp/ck
fileone: OK
filetwo: FAILED
md5sum: WARNING: 1 computed checksum did NOT match