System.Security.Cryptography.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);
}
}