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::DisableCrc32cChecksum Struct Reference

Disable CRC32C checksum computations. More...

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

Public Member Functions

 DisableCrc32cChecksum ()=default
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Disable CRC32C checksum computations.

By default the GCS client library computes CRC32C checksums in all upload and download operations. The application can use this option to disable the checksum computation.

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

◆ DisableCrc32cChecksum()

google::cloud::storage::DisableCrc32cChecksum::DisableCrc32cChecksum ( )
default

Member Function Documentation

◆ name()

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