1 write to _plaintext
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (1)
Benchmarks\KeyRingProtectorBenchmarks.cs (1)
39
_plaintext
= new byte[200];
5 references to _plaintext
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (5)
Benchmarks\KeyRingProtectorBenchmarks.cs (5)
40
new Random(42).NextBytes(
_plaintext
);
42
_shortProtected = _shortPurposeProtector.Protect(
_plaintext
);
43
_cookieProtected = _cookiePurposeProtector.Protect(
_plaintext
);
54
public byte[] Protect_ShortPurpose() => _shortPurposeProtector.Protect(
_plaintext
);
60
public byte[] Protect_CookiePurpose() => _cookiePurposeProtector.Protect(
_plaintext
);