Eugene’s trick works with md5 as well.

md5sum ()
{
md5 -r $1
}