public sealed class CryptoHashConfig : IMessage<CryptoHashConfig>, IEquatable<CryptoHashConfig>, IDeepCloneable<CryptoHashConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CryptoHashConfig.
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.
Implements
IMessageCryptoHashConfig, IEquatableCryptoHashConfig, IDeepCloneableCryptoHashConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
CryptoHashConfig()
public CryptoHashConfig()
CryptoHashConfig(CryptoHashConfig)
public CryptoHashConfig(CryptoHashConfig other)
Parameter | |
---|---|
Name | Description |
other | CryptoHashConfig |
Properties
CryptoKey
public CryptoKey CryptoKey { get; set; }
The key used by the hash function.
Property Value | |
---|---|
Type | Description |
CryptoKey |