1 write to _shortPurposeProtector
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (1)
Benchmarks\KeyRingProtectorBenchmarks.cs (1)
35
_shortPurposeProtector
= provider.CreateProtector("benchmark");
3 references to _shortPurposeProtector
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (3)
Benchmarks\KeyRingProtectorBenchmarks.cs (3)
42
_shortProtected =
_shortPurposeProtector
.Protect(_plaintext);
54
public byte[] Protect_ShortPurpose() =>
_shortPurposeProtector
.Protect(_plaintext);
57
public byte[] Unprotect_ShortPurpose() =>
_shortPurposeProtector
.Unprotect(_shortProtected);