net11.0
namespace Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption
{
    public interface ISpanAuthenticatedEncryptor : IAuthenticatedEncryptor
    {
        void Encrypt<TWriter>(ReadOnlySpan<byte> plaintext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
            where TWriter, IBufferWriter<byte>!;
    }
}
.NET
11.0
Information specific to net11.0
Assembly

Microsoft.AspNetCore.DataProtection , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60

Referencing

Requires any:

  • Your project needs to use SDK Microsoft.NET.Sdk.Web.

  • Your project needs a framework reference to Microsoft.AspNetCore.App.

  • Your project needs a package reference to Microsoft.AspNetCore.DataProtection.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API