View Source GoogleApi.HealthCare.V1.Model.CryptoHashConfig (google_api_health_care v0.50.1)

Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=).

Attributes

  • cryptoKey (type: String.t, default: nil) - An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither crypto_key nor kms_wrapped is specified. Must not be set if kms_wrapped is set.
  • kmsWrapped (type: GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey.t, default: nil) - KMS wrapped key. Must not be set if crypto_key is set.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1.Model.CryptoHashConfig{
  cryptoKey: String.t() | nil,
  kmsWrapped: GoogleApi.HealthCare.V1.Model.KmsWrappedCryptoKey.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.