GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CryptoHashConfig (google_api_dlp v0.41.1) View Source

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/dlp/docs/pseudonymization to learn more.

Attributes

  • cryptoKey (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CryptoKey.t, default: nil) - The key used by the hash function.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CryptoHashConfig{
  cryptoKey: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CryptoKey.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.