Compute md5 value of file or string.