Share via


HmacRedactor Class

Definition

A redactor using HMACSHA256 to encode data being redacted.

public ref class HmacRedactor sealed : Microsoft::Extensions::Compliance::Redaction::Redactor
public sealed class HmacRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type HmacRedactor = class
    inherit Redactor
Public NotInheritable Class HmacRedactor
Inherits Redactor
Inheritance
HmacRedactor

Constructors

HmacRedactor(IOptions<HmacRedactorOptions>)

Initializes a new instance of the HmacRedactor class.

Methods

GetRedactedLength(ReadOnlySpan<Char>)

Gets the number of characters produced by redacting the input.

GetRedactedLength(String)

Gets the number of characters produced by redacting the input.

(Inherited from Redactor)
Redact(ReadOnlySpan<Char>, Span<Char>)

Redacts potentially sensitive data.

Redact(ReadOnlySpan<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String, Span<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact<T>(T, Span<Char>, String, IFormatProvider)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact<T>(T, String, IFormatProvider)

Redacts potentially sensitive data.

(Inherited from Redactor)
TryRedact<T>(T, Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to redact potentially sensitive data.

(Inherited from Redactor)

Applies to