Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::v1::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.

Definition at line 64 of file hashing_options.h.

Constructor & Destructor Documentation

◆ DisableMD5Hash()

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

Definition at line 68 of file hashing_options.h.

Member Function Documentation

◆ name()

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

Definition at line 69 of file hashing_options.h.