1 implementation of Protect
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
25public void Protect<TWriter>(ReadOnlySpan<byte> plaintext, ref TWriter destination) where TWriter : IBufferWriter<byte>
3 references to Protect
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
Benchmarks\SpanDataProtectorComparison.cs (2)
98_spanDataProtector.Protect(_plaintext, ref protectBuffer); 120_spanDataProtector.Protect(_plaintext, ref protectBuffer);
Microsoft.AspNetCore.DataProtection.Tests (1)
Internal\RoundtripEncryptionHelpers.cs (1)
69protector.Protect(plaintext, ref buffer);