def CalculateMd5FromContents(fp):
  return _CalculateHashFromContents(fp, md5())
Calculates a base64 MD5 digest of the contents of a seekable stream.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/hashing_helper.py/CalculateMd5FromContents