<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.18.0" />

Microsoft.IdentityModel.Tokens.AesAead

static class AesAead
public static void CheckArgumentsForNull(byte[] nonce, byte[] plaintext, byte[] ciphertext, byte[] tag)

public static void Decrypt(SafeKeyHandle keyHandle, byte[] nonce, byte[] associatedData, byte[] ciphertext, byte[] tag, byte[] plaintext, bool clearPlaintextOnFailure)