<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.2.26159.112" />

System.Security.Cryptography.AeadCommon

static class AeadCommon
namespace System.Security.Cryptography { internal static class AeadCommon { public static void Encrypt(Internal.NativeCrypto.SafeKeyHandle keyHandle, ReadOnlySpan<byte> nonce, ReadOnlySpan<byte> associatedData, ReadOnlySpan<byte> plaintext, Span<byte> ciphertext, Span<byte> tag); public static void Decrypt(Internal.NativeCrypto.SafeKeyHandle keyHandle, ReadOnlySpan<byte> nonce, ReadOnlySpan<byte> associatedData, ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> tag, Span<byte> plaintext, bool clearPlaintextOnFailure); } }