def _base64_md5hash(buffer_object):
    hash_obj = md5()
    _write_buffer_to_hash(buffer_object, hash_obj)
    digest_bytes = hash_obj.digest()
    return base64.b64encode(digest_bytes)
Get MD5 hash of bytes (as base64).
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/storage/_helpers.py/_base64_md5hash