Class: Google::Cloud::Dlp::V2::CryptoHashConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to learn more.

Instance Attribute Summary collapse

Instance Attribute Details

#crypto_key::Google::Cloud::Dlp::V2::CryptoKey

Returns The key used by the hash function.

Returns:



2298
2299
2300
2301
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2298

class CryptoHashConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end