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-04-09 UTC."],[[["This webpage details the `CryptoHashConfig` class, a pseudonymization method within the Google Cloud DLP (Data Loss Prevention) library, version 3.3.0 and above."],["`CryptoHashConfig` generates surrogates through cryptographic hashing using SHA-256, which supports key sizes of 32 or 64 bytes, and outputs a base64 encoded string of the hashed output."],["The `CryptoHashConfig` class is designed to work with string and integer values for hashing."],["The class implements several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and can be instantiated using one of two constructors, with one allowing another instance of `CryptoHashConfig` to be passed in for duplication."],["This page provides access to documentation for various versions of `CryptoHashConfig`, from 2.15.0 up to the latest version, 4.16.0."]]],[]]