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/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 provides reference documentation for the `CryptoHashConfig` class within the Google Cloud Data Loss Prevention v2 API for .NET."],["`CryptoHashConfig` is a pseudonymization method that utilizes SHA-256 cryptographic hashing to generate surrogates, currently supporting string and integer values."],["The documentation lists various available versions of the `CryptoHashConfig` class, from the latest 4.16.0 down to version 2.15.0, detailing the version history."],["The class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it inherits from `object`, showing its place in the class hierarchy."],["The key used by the hashing function is defined by the CryptoKey Property, which can be set in the class."]]],[]]