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.
[[["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 page provides documentation for the `CryptoHashConfig` class within the Google Cloud Data Loss Prevention v2 API, specifically for version 4.15.0."],["The `CryptoHashConfig` class is a pseudonymization method that uses SHA-256 cryptographic hashing to generate surrogates, with key sizes required to be either 32 or 64 bytes, and outputs a base64 encoded representation of the hashed value."],["This `CryptoHashConfig` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is part of the `Google.Cloud.Dlp.V2` namespace."],["The page details the availability of the `CryptoHashConfig` class across a range of versions, starting from 2.15.0 up to the latest 4.16.0, showing a list of available documentations."],["The documentation specifies that only string and integer values can currently be hashed and explains the usage of CryptoKey property which is used by the hash function."]]],[]]