public sealed class CryptoHashConfig : IMessage<CryptoHashConfig>, IEquatable<CryptoHashConfig>, IDeepCloneable<CryptoHashConfig>, IBufferMessage, IMessage
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This page details the `CryptoHashConfig` class, a pseudonymization method using cryptographic hashing (SHA-256) within the Google Cloud Data Loss Prevention (DLP) API."],["The `CryptoHashConfig` class can hash string and integer values, outputting a base64 encoded representation of the hashed output, with key sizes limited to 32 or 64 bytes."],["The latest version of the API detailed in the provided documentation is 4.16.0, with multiple previous versions listed, from 4.15.0 down to 2.15.0, all providing information on CryptoHashConfig."],["`CryptoHashConfig` inherits from object, implements various interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, `IBufferMessage`, and has constructors for creating instances with or without an existing `CryptoHashConfig` object."],["It's located in the `Google.Cloud.Dlp.V2` namespace, found within the `Google.Cloud.Dlp.V2.dll` assembly and has a `CryptoKey` property to define the key used by the hashing function."]]],[]]