Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::DisableMD5Hash Struct Reference

Disable or enable MD5 Hashing computations. More...

#include <google/cloud/storage/hashing_options.h>

Public Member Functions

 DisableMD5Hash ()
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Disable or enable MD5 Hashing computations.

By default MD5 hashes are disabled. To enable them use the EnableMD5Hash() helper function.

Warning
MD5 hashes are disabled by default, as they are computationally expensive, and CRC32C checksums provide enough data integrity protection for most applications. Disabling CRC32C checksums while MD5 hashes remain disabled exposes your application to data corruption. We recommend that all uploads to GCS and downloads from GCS use CRC32C checksums.

Constructor & Destructor Documentation

◆ DisableMD5Hash()

google::cloud::storage::DisableMD5Hash::DisableMD5Hash ( )
inline

Member Function Documentation

◆ name()

static char const * google::cloud::storage::DisableMD5Hash::name ( )
inlinestatic