def Base64EncodeHash(digest_value):
  return base64.encodestring(binascii.unhexlify(digest_value)).rstrip('\n')
Returns the base64-encoded version of the input hex digest value.
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/hashing_helper.py/Base64EncodeHash