GooglePrivacyDlpV2CryptoHashConfig class
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.
Constructors
-
GooglePrivacyDlpV2CryptoHashConfig({Input<
GooglePrivacyDlpV2CryptoKey> ? cryptoKey}) -
Creates a new GooglePrivacyDlpV2CryptoHashConfig.
cryptoKeyThe key used by the hash function.const -
GooglePrivacyDlpV2CryptoHashConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cryptoKey
→ Input<
GooglePrivacyDlpV2CryptoKey> ? -
The key used by the hash function.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited